[PATCH V2 0/3] vDPA/ifcvf: enables Intel C5000X-PL virtio-blk

2021-04-15 Thread Zhu Lingshan
This series enabled Intel FGPA SmartNIC C5000X-PL virtio-blk for vDPA. This series requires: Stefano's vdpa block patchset: https://lkml.org/lkml/2021/3/15/2113 my patchset to enable Intel FGPA SmartNIC C5000X-PL virtio-net for vDPA: https://lkml.org/lkml/2021/3/17/432 changes from V1: (1)add com

[PATCH v2 0/3] Add support for Actions Semi Owl Ethernet MAC

2021-03-15 Thread Cristian Ciocaltea
This patch series adds support for the Ethernet MAC found on the Actions Semi Owl family of SoCs. For the moment I have only tested the driver on RoseapplePi SBC, which is based on the S500 SoC variant. It might work on S900 as well, but I cannot tell for sure since the S900 datasheet I currently

[PATCH v2 0/3] Add lockdep_assert_not_held()

2021-02-26 Thread Shuah Khan
Some kernel functions must not be called holding a specific lock. Doing so could lead to locking problems. Currently these routines call lock_is_held() to check for lock hold followed by WARN_ON. Adding a common lockdep interface will help reduce the duplication of this logic in the rest of the ke

[PATCH v2 0/3] mlx5_vdpa bug fixes

2021-02-10 Thread Si-Wei Liu
This set attempts to fix a few independent issues recently found in mlx5_vdpa driver. Please find details for each in the commit message. Patch 1 and patch 3 are already Ack'ed by Jason Wang. Patch 2 is reworked to move virtio feature capability query to mlx5v_probe() as suggested by Eli. -- v1->

Re: [PATCH v2 0/3] thermal: Replace thermal_notify_framework with thermal_zone_device_update

2021-02-02 Thread Thara Gopinath
On 1/21/21 9:34 PM, Thara Gopinath wrote: thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone, running through the list of trip points and setting the next trip point etc. Sin

Re: [PATCH v2 0/3] isa: Make the remove callback for isa drivers return void

2021-01-25 Thread Takashi Iwai
On Fri, 22 Jan 2021 10:24:46 +0100, Uwe Kleine-König wrote: > > Hello, > > changes since v1 > (https://lore.kernel.org/r/20210121204812.402589-1-...@kleine-koenig.org): > - fix build failure, found by the kernel test robot >(my grep missed the struct isa_driver embedded in struct >radio_

[PATCH v2 0/3] isa: Make the remove callback for isa drivers return void

2021-01-22 Thread Uwe Kleine-König
Hello, changes since v1 (https://lore.kernel.org/r/20210121204812.402589-1-...@kleine-koenig.org): - fix build failure, found by the kernel test robot (my grep missed the struct isa_driver embedded in struct radio_isa_driver). For this I introduced patch 2 and adapted patch 3 a bit. An i

[PATCH v2 0/3] thermal: Replace thermal_notify_framework with thermal_zone_device_update

2021-01-21 Thread Thara Gopinath
thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone, running through the list of trip points and setting the next trip point etc. Since the later is a more thorough version of for

Re: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Fri, 8 Jan 2021 16:53:40 -0800 you wrote: > From: Long Li > > This patch set fixes issues with packet loss on VF add/remove. > > Long Li (3): > hv_netvsc: Check VF datapath when sending traffic to VF > hv_netvsc

RE: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-12 Thread Long Li
> Subject: Re: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF > add/remove > > On Fri, 8 Jan 2021 16:53:40 -0800 Long Li wrote: > > From: Long Li > > > > This patch set fixes issues with packet loss on VF add/remove. > > These patches are for net-ne

Re: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-11 Thread Jakub Kicinski
On Fri, 8 Jan 2021 16:53:40 -0800 Long Li wrote: > From: Long Li > > This patch set fixes issues with packet loss on VF add/remove. These patches are for net-next? They just optimize the amount of packet loss on switch, not fix bugs, right?

[PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-08 Thread Long Li
From: Long Li This patch set fixes issues with packet loss on VF add/remove. Long Li (3): hv_netvsc: Check VF datapath when sending traffic to VF hv_netvsc: Wait for completion on request SWITCH_DATA_PATH hv_netvsc: Process NETDEV_GOING_DOWN on VF hot remove drivers/net/hyperv/netvsc.c

[PATCH v2 0/3] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-06 Thread Pali Rohár
This is second patch series which adds workaround for broken GPON SFP modules based on Realtek RTL8672/RTL9601C chips with broken EEPROM emulator. PATCH 2/4 was dropped and replaced by specific UBNT quirk in modified PATCH v2 3/3. hwmon interface was for these SFP modules completely disabled as E

[PATCH v2 0/3] PCI: Disable parity checking if broken_parity is set

2021-01-06 Thread Heiner Kallweit
If we know that a device has broken parity checking, then disable it. This avoids quirks like in r8169 where on the first parity error interrupt parity checking will be disabled if broken_parity_status is set. Make pci_quirk_broken_parity() public so that it can be used by platform code, e.g. for T

[PATCH v2 0/3] bpf,x64: implement jump padding in jit

2020-12-17 Thread Gary Lin
This patch series implements jump padding to x64 jit to cover some corner cases that used to consume more than 20 passes and caused failure. v2: - Simplify the sample code in the commit description and provide the jit code - Check the expected padding bytes with WARN_ONCE - Move the 'pad

Re: [PATCH v2 0/3] xfrm/compat: syzbot-found fixes

2020-11-09 Thread Steffen Klassert
On Mon, Nov 02, 2020 at 04:14:44PM +, Dmitry Safonov wrote: > v2: Added "Fixes" tags to the patches. > > WARN_ON() for XFRMA_UNSPEC translation which likely no-one except > syzkaller uses; properly zerofy tail-padding for 64-bit attribute; > don't use __GFP_ZERO as the memory is initialized du

Re: [PATCH v2 0/3] wireless: convert tasklets to use new

2020-11-04 Thread Allen Pais
This series converts the remaining drivers to use new tasklet_setup() API. The patches are based on wireless-drivers-next (c2568c8c9e63) Is this series queue? I haven't seen any email. This is the last series as part of the tasklet conversion effort. They are queued in linux-wireless patch

Re: [PATCH v2 0/3] wireless: convert tasklets to use new

2020-11-04 Thread Kalle Valo
Allen Pais writes: >> >> This series converts the remaining drivers to use new >> tasklet_setup() API. >> >> The patches are based on wireless-drivers-next (c2568c8c9e63) > > Is this series queue? I haven't seen any email. This is the last > series as part of the tasklet conversion effort. They

Re: [PATCH v2 0/3] wireless: convert tasklets to use new

2020-11-02 Thread Allen Pais
This series converts the remaining drivers to use new tasklet_setup() API. The patches are based on wireless-drivers-next (c2568c8c9e63) Is this series queue? I haven't seen any email. This is the last series as part of the tasklet conversion effort. Thanks. v2: Split mt76 and mt76

[PATCH v2 0/3] xfrm/compat: syzbot-found fixes

2020-11-02 Thread Dmitry Safonov
v2: Added "Fixes" tags to the patches. WARN_ON() for XFRMA_UNSPEC translation which likely no-one except syzkaller uses; properly zerofy tail-padding for 64-bit attribute; don't use __GFP_ZERO as the memory is initialized during translation. Cc: Steffen Klassert Cc: "David S. Miller" Cc: Jakub

[PATCH v2 0/3] net: dsa: mv88e6xxx: serdes link without phy

2020-10-18 Thread Chris Packham
This small series gets my hardware into a working state. The key points are to make sure we don't force the link and that we ask the MAC for the link status. I also have updated my dts to say `phy-mode = "1000base-x";` and `managed = "in-band-status";` I've included patch #3 in this series but I d

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-12 Thread Johannes Berg
On Mon, 2020-10-12 at 14:18 +0300, Aleksandr Nogikh wrote: > > Currently we're injecting frames via mac80211_hwsim (by pretenting to > be wmediumd - > https://github.com/google/syzkaller/blob/4a77ae0bdc5cd75ebe88ce7c896aae6bbf457a29/executor/common_linux.h#L4922). Ah, ok, of course that works too

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-12 Thread Aleksandr Nogikh
On Sun, 11 Oct 2020 at 21:50, Johannes Berg wrote: [...] > Also, unrelated to that (but I see Dmitry CC'ed), I started wondering if > it'd be helpful to have an easier raw 802.11 inject path on top of say > hwsim0; I noticed some syzbot reports where it created raw sockets, but > that only gets yo

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-11 Thread Johannes Berg
On Fri, 2020-10-09 at 17:01 +, Aleksandr Nogikh wrote: > From: Aleksandr Nogikh > > This patch series enables remote KCOV coverage collection during > 802.11 frames processing. These changes make it possible to perform > coverage-guided fuzzing in search of remotely triggerable bugs. Btw, it

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-11 Thread Johannes Berg
On 11 October 2020 12:37:29 CEST, Andrey Konovalov wrote: >I initially hesitated to do that, as it would multiply the number of >kcov callbacks. But perhaps you're right and a clean API look >outweighs the rest. I will do this in v3. Yeah, OK, dunno. You can always make it an inline calling

Re: [PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-09 Thread Johannes Berg
On 9 October 2020 19:01:59 CEST, Aleksandr Nogikh wrote: >This patch series conflicts with another proposed patch >http://lkml.kernel.org/r/223901affc7bd759b2d6995c2dbfbdd0a29bc88a.1602248029.git.andreyk...@google.com >One of these patches needs to be rebased once the other one is merged. Ma

[PATCH v2 0/3] [PATCH v2 0/3] [PATCH v2 0/3] net, mac80211, kernel: enable KCOV remote coverage collection for 802.11 frame handling

2020-10-09 Thread Aleksandr Nogikh
From: Aleksandr Nogikh This patch series enables remote KCOV coverage collection during 802.11 frames processing. These changes make it possible to perform coverage-guided fuzzing in search of remotely triggerable bugs. Normally, KCOV collects coverage information for the code that is executed i

[PATCH v2 0/3] wireless: convert tasklets to use new

2020-10-07 Thread Allen Pais
From: Allen Pais This series converts the remaining drivers to use new tasklet_setup() API. The patches are based on wireless-drivers-next (c2568c8c9e63) v2: Split mt76 and mt7601u Allen Pais (3): wireless: mt76: convert tasklets to use new tasklet_setup() API wireless: mt7601u: convert

[PATCH V2 0/3] patch set for flexcan

2020-09-27 Thread Joakim Zhang
can: flexcan: initialize all flexcan memory for ECC function can: flexcan: add flexcan driver for i.MX8MP These two patches add i.MX8MP driver support. can: flexcan: disable runtime PM if register flexcandev failed Resend this patch as a small driver improvement. Joakim Zhang (3): can: flexcan:

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-23 Thread David Ahern
On 9/23/20 1:12 PM, Michael Jeanson wrote: > > Just a final clarification, the asymmetric setup would have no return > route in VRF 2 and only test the TTL case since the others would fail? correct. add a statement about it representing a customer setup so it is clear such a config is a 1-off

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-23 Thread Michael Jeanson
On 2020-09-23 14 h 46, David Ahern wrote: On 9/23/20 11:03 AM, Michael Jeanson wrote: On 2020-09-23 12 h 04, Michael Jeanson wrote: It should work without asymmetric routing; adding the return route to the second vrf as I mentioned above fixes the FRAG_NEEDED problem. It should work for TTL as

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-23 Thread David Ahern
On 9/23/20 11:03 AM, Michael Jeanson wrote: > On 2020-09-23 12 h 04, Michael Jeanson wrote: >>> It should work without asymmetric routing; adding the return route to >>> the second vrf as I mentioned above fixes the FRAG_NEEDED problem. It >>> should work for TTL as well. >>> >>> Adding a second pa

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-23 Thread Michael Jeanson
On 2020-09-23 12 h 04, Michael Jeanson wrote: It should work without asymmetric routing; adding the return route to the second vrf as I mentioned above fixes the FRAG_NEEDED problem. It should work for TTL as well. Adding a second pass on the tests with the return through r2 is fine, but add a f

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-23 Thread Michael Jeanson
On 2020-09-22 21 h 59, David Ahern wrote: On 9/22/20 7:52 AM, Michael Jeanson wrote: the test setup is bad. You have r1 dropping the MTU in VRF red, but not telling VRF red how to send back the ICMP. e.g., for IPv4 add: ip -netns r1 ro add vrf red 172.16.1.0/24 dev blue do the same for v6

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-22 Thread David Ahern
On 9/22/20 7:52 AM, Michael Jeanson wrote: >>> >>> the test setup is bad. You have r1 dropping the MTU in VRF red, but not >>> telling VRF red how to send back the ICMP. e.g., for IPv4 add: >>> >>>ip -netns r1 ro add vrf red 172.16.1.0/24 dev blue >>> >>> do the same for v6. >>> >>> Also, I do

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-22 Thread Michael Jeanson
- On 21 Sep, 2020, at 15:33, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Sep 21, 2020, at 3:11 PM, David Ahern dsah...@gmail.com wrote: > >> On 9/21/20 12:44 PM, Mathieu Desnoyers wrote: >>> - On Sep 21, 2020, at 2:36 PM, David Ahern dsah...@gmail.com wrote: >>> >

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-21 Thread Mathieu Desnoyers
- On Sep 21, 2020, at 3:11 PM, David Ahern dsah...@gmail.com wrote: > On 9/21/20 12:44 PM, Mathieu Desnoyers wrote: >> - On Sep 21, 2020, at 2:36 PM, David Ahern dsah...@gmail.com wrote: >> >>> On 9/18/20 12:17 PM, Mathieu Desnoyers wrote: Hi, Here is an updated series of f

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-21 Thread David Ahern
On 9/21/20 12:44 PM, Mathieu Desnoyers wrote: > - On Sep 21, 2020, at 2:36 PM, David Ahern dsah...@gmail.com wrote: > >> On 9/18/20 12:17 PM, Mathieu Desnoyers wrote: >>> Hi, >>> >>> Here is an updated series of fixes for ipv4 and ipv6 which which ensure >>> the route lookup is performed on th

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-21 Thread Mathieu Desnoyers
- On Sep 21, 2020, at 2:36 PM, David Ahern dsah...@gmail.com wrote: > On 9/18/20 12:17 PM, Mathieu Desnoyers wrote: >> Hi, >> >> Here is an updated series of fixes for ipv4 and ipv6 which which ensure >> the route lookup is performed on the right routing table in VRF >> configurations when se

Re: [RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-21 Thread David Ahern
On 9/18/20 12:17 PM, Mathieu Desnoyers wrote: > Hi, > > Here is an updated series of fixes for ipv4 and ipv6 which which ensure > the route lookup is performed on the right routing table in VRF > configurations when sending TTL expired icmp errors (useful for > traceroute). > > It includes tests

[RFC PATCH v2 0/3] l3mdev icmp error route lookup fixes

2020-09-18 Thread Mathieu Desnoyers
Hi, Here is an updated series of fixes for ipv4 and ipv6 which which ensure the route lookup is performed on the right routing table in VRF configurations when sending TTL expired icmp errors (useful for traceroute). It includes tests for both ipv4 and ipv6. These fixes address specifically addr

Re: [PATCH v2 0/3] Bluetooth: Emit events for suspend/resume

2020-09-13 Thread Marcel Holtmann
Hi Abhishek, > This series adds the suspend/resume events suggested in > https://patchwork.kernel.org/patch/11771001/. > > I have tested it with some userspace changes that monitors the > controller resumed event to trigger audio device reconnection and > verified that the events are correctly em

[PATCH v2 0/3] Bluetooth: Emit events for suspend/resume

2020-09-11 Thread Abhishek Pandit-Subedi
Hi Marcel, This series adds the suspend/resume events suggested in https://patchwork.kernel.org/patch/11771001/. I have tested it with some userspace changes that monitors the controller resumed event to trigger audio device reconnection and verified that the events are correctly emitted. Patc

Re: [PATCH v2 0/3] netlink: allow NLA_BINARY length range validation

2020-08-18 Thread David Miller
From: Johannes Berg Date: Tue, 18 Aug 2020 10:17:30 +0200 > In quite a few places (perhaps particularly in wireless) we need to > validation an NLA_BINARY attribute with both a minimum and a maximum > length. Currently, we can do either of the two, but not both, given > that we have NLA_MIN_LEN (

[PATCH v2 0/3] netlink: allow NLA_BINARY length range validation

2020-08-18 Thread Johannes Berg
In quite a few places (perhaps particularly in wireless) we need to validation an NLA_BINARY attribute with both a minimum and a maximum length. Currently, we can do either of the two, but not both, given that we have NLA_MIN_LEN (minimum length) and NLA_BINARY (maximum). Extend the range mechanis

Re: [PATCH v2 0/3] Add Support for Marvell OcteonTX2 Cryptographic

2020-08-07 Thread David Miller
From: Srujana Challa Date: Fri, 7 Aug 2020 19:39:17 +0530 > The following series adds support for Marvell Cryptographic Acceleration > Unit(CPT) on OcteonTX2 CN96XX SoC. > This series is tested with CRYPTO_EXTRA_TESTS enabled and > CRYPTO_DISABLE_TESTS disabled. net-next is closed, please do not

[PATCH v2 0/3] Add Support for Marvell OcteonTX2 Cryptographic

2020-08-07 Thread Srujana Challa
The following series adds support for Marvell Cryptographic Acceleration Unit(CPT) on OcteonTX2 CN96XX SoC. This series is tested with CRYPTO_EXTRA_TESTS enabled and CRYPTO_DISABLE_TESTS disabled. Changes since v1: * Moved Makefile changes from patch4 to patch2 and patch3. Srujana Challa (3):

Re: [PATCH v2 0/3]

2020-07-31 Thread Florian Fainelli
.kernel.org; >> kv...@codeaurora.org; da...@davemloft.net; k...@kernel.org; >> netdev@vger.kernel.org >> Subject: Re: [PATCH v2 0/3] >> >> On 7/31/20 11:27 AM, Rakesh Pillai wrote: >>> The history recording will be compiled only if >>> ATH10K_DEBUG i

RE: [PATCH v2 0/3]

2020-07-31 Thread Rakesh Pillai
rnel.org; > netdev@vger.kernel.org > Subject: Re: [PATCH v2 0/3] > > On 7/31/20 11:27 AM, Rakesh Pillai wrote: > > The history recording will be compiled only if > > ATH10K_DEBUG is enabled, and also enabled via > > the module parameter. Once the history recording > > is

Re: [PATCH v2 0/3]

2020-07-31 Thread Jakub Kicinski
On Fri, 31 Jul 2020 23:57:19 +0530 Rakesh Pillai wrote: > The history recording will be compiled only if > ATH10K_DEBUG is enabled, and also enabled via > the module parameter. Once the history recording > is enabled via module parameter, it can be enabled > or disabled runtime via debugfs. Have y

Re: [PATCH v2 0/3]

2020-07-31 Thread Florian Fainelli
On 7/31/20 11:27 AM, Rakesh Pillai wrote: > The history recording will be compiled only if > ATH10K_DEBUG is enabled, and also enabled via > the module parameter. Once the history recording > is enabled via module parameter, it can be enabled > or disabled runtime via debugfs. Why not use trace pr

[PATCH v2 0/3]

2020-07-31 Thread Rakesh Pillai
The history recording will be compiled only if ATH10K_DEBUG is enabled, and also enabled via the module parameter. Once the history recording is enabled via module parameter, it can be enabled or disabled runtime via debugfs. --- Changes from v1: - Add module param and debugfs to enable/disable hi

Re: [PATCH v2 0/3] net: dsa: mv88e6xxx: port mtu support

2020-07-24 Thread David Miller
From: Chris Packham Date: Fri, 24 Jul 2020 11:21:19 +1200 > This series connects up the mv88e6xxx switches to the dsa infrastructure for > configuring the port MTU. The first patch is also a bug fix which might be a > candiatate for stable. > > I've rebased this series on top of net-next/master

Re: [PATCH v2 0/3] net: dsa: mv88e6xxx: port mtu support

2020-07-24 Thread Andrew Lunn
On Fri, Jul 24, 2020 at 11:21:19AM +1200, Chris Packham wrote: > This series connects up the mv88e6xxx switches to the dsa infrastructure for > configuring the port MTU. The first patch is also a bug fix which might be a > candiatate for stable. > > I've rebased this series on top of net-next/mast

[PATCH v2 0/3] net: dsa: mv88e6xxx: port mtu support

2020-07-23 Thread Chris Packham
This series connects up the mv88e6xxx switches to the dsa infrastructure for configuring the port MTU. The first patch is also a bug fix which might be a candiatate for stable. I've rebased this series on top of net-next/master to pick up Andrew's change for the gigabit switches. Patch 1 and 2 are

Re: [PATCH v2 0/3] Add DSA yaml binding

2020-07-22 Thread David Miller
From: Kurt Kanzenbach Date: Mon, 20 Jul 2020 14:49:36 +0200 > as discussed [1] [2] it makes sense to add a DSA yaml binding. This is the > second version and contains now two ways of specifying the switch ports: > Either > by "ports" or by "ethernet-ports". That is why the third patch also adjus

[PATCH v2 0/3] Add DSA yaml binding

2020-07-20 Thread Kurt Kanzenbach
Hi, as discussed [1] [2] it makes sense to add a DSA yaml binding. This is the second version and contains now two ways of specifying the switch ports: Either by "ports" or by "ethernet-ports". That is why the third patch also adjusts the DSA core for it. Tested in combination with the hellcreek.

[net-next PATCH v2 0/3] ACPI support for dpaa2 MAC driver.

2020-06-30 Thread Calvin Johnson
This patch series provides ACPI support for dpaa2 MAC driver. This also introduces ACPI mechanism to get PHYs registered on a MDIO bus and provide them to be connected to MAC. This patchset is dependent on the review patches available on: https://git.kernel.org/pub/scm/linux/kernel/git/lpieral

[PATCH v2 0/3] Drivers: hv: vmbus: vmbus_requestor data structure for VMBus hardening

2020-06-29 Thread Andres Beltran
Currently, VMbus drivers use pointers into guest memory as request IDs for interactions with Hyper-V. To be more robust in the face of errors or malicious behavior from a compromised Hyper-V, avoid exposing guest memory addresses to Hyper-V. Also avoid Hyper-V giving back a bad request ID that is t

Re: [bpf PATCH v2 0/3] Sockmap RCU splat fix

2020-06-28 Thread Alexei Starovoitov
On Thu, Jun 25, 2020 at 4:12 PM John Fastabend wrote: > > Fix a splat introduced by recent changes to avoid skipping ingress policy > when kTLS is enabled. The RCU splat was introduced because in the non-TLS > case the caller is wrapped in an rcu_read_lock/unlock. But, in the TLS > case we have a

[bpf PATCH v2 0/3] Sockmap RCU splat fix

2020-06-25 Thread John Fastabend
Fix a splat introduced by recent changes to avoid skipping ingress policy when kTLS is enabled. The RCU splat was introduced because in the non-TLS case the caller is wrapped in an rcu_read_lock/unlock. But, in the TLS case we have a reference to the psock and the caller did not wrap its call in rc

Re: [PATCH v2 0/3] ethernet: amd: Convert to generic power management

2020-06-24 Thread Vaibhav Gupta
On Wed, 24 Jun 2020 at 09:01, David Miller wrote: > > From: Vaibhav Gupta > Date: Mon, 22 Jun 2020 16:43:57 +0530 > > > Linux Kernel Mentee: Remove Legacy Power Management. > > > > The purpose of this patch series is to remove legacy power management > > callbacks > > from amd ethernet drivers.

Re: [PATCH v2 0/3] ethernet: amd: Convert to generic power management

2020-06-23 Thread David Miller
From: Vaibhav Gupta Date: Mon, 22 Jun 2020 16:43:57 +0530 > Linux Kernel Mentee: Remove Legacy Power Management. > > The purpose of this patch series is to remove legacy power management > callbacks > from amd ethernet drivers. > > The callbacks performing suspend() and resume() operations are

[PATCH v2 0/3] ethernet: amd: Convert to generic power management

2020-06-22 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from amd ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handling t

[PATCH v2 0/3] ethernet: amd: Convert to generic power management

2020-06-22 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from amd ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handling t

[net-next PATCH v2 0/3] ACPI support for xgmac_mdio drivers.

2020-06-22 Thread Calvin Johnson
This patch series provides ACPI support for xgmac_mdio driver. Changes in v2: - Reserve "0" to mean that no mdiobus capabilities have been declared. - bus->id: change to appropriate printk format specifier - clean up xgmac_acpi_match - clariy platform_get_resource() usage with comments Calvin Jo

[PATCH v2 0/3] Add support for SQI and master-slave

2020-05-28 Thread Oleksij Rempel
This patch set is extending ethtool to make it more usable on automotive PHYs like NXP TJA11XX. They make use of new KAPI (currently in net-next, will go probably to the kernel 5.8-rc1): - PHY master-slave role configuration and status informaton. Mostly needed for 100Base-T1 PHYs due the lack o

Re: [PATCH v2 0/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-22 Thread David Miller
From: Horatiu Vultur Date: Thu, 21 May 2020 23:19:04 + > This patch series adds small fixes to MRP implementation. > The following are fixed in this patch series: > - now is not allow to add the same port to multiple MRP rings > - remove unused variable > - restore the port state according to

[PATCH v2 0/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-21 Thread Horatiu Vultur
This patch series adds small fixes to MRP implementation. The following are fixed in this patch series: - now is not allow to add the same port to multiple MRP rings - remove unused variable - restore the port state according to the bridge state when the MRP instance is deleted v2: - use rtnl_d

[RFC PATCH v2 0/3] kprobes: Support nested kprobes

2020-05-08 Thread Masami Hiramatsu
Hi, Here is the 2nd version of the series to add nested-kprobes support to x86, arm64 and arm. This makes kprobes to accept 1-level nesting instead of incrementing missed count. In this version, I fixed a mistake for the kprobes on ftrace on x86 and dump nested probes when we detect an unrecovera

Re: [net-next PATCH v2 0/3] Introduce new APIs to support phylink and phy layers

2020-05-06 Thread Calvin Johnson
Hi Rafael, On Wed, Apr 29, 2020 at 12:26:12PM +0200, Rafael J. Wysocki wrote: > On Wed, Apr 29, 2020 at 7:38 AM Calvin Johnson > wrote: > > > > > So, yes, there's another driver using it, but the ACPI folk probably > > > never got a look-in on that instance. Even if they had been copied, > > >

Re: [net-next PATCH v2 0/3] Introduce new APIs to support phylink and phy layers

2020-04-30 Thread Calvin Johnson
On Mon, Apr 27, 2020 at 06:54:06PM +0530, Calvin Johnson wrote: Hi Russell, others, > Following functions are defined: > phylink_fwnode_phy_connect() > phylink_device_phy_connect() > fwnode_phy_find_device() > device_phy_find_device() > fwnode_get_phy_node() > > First two help in conne

Re: [net-next PATCH v2 0/3] Introduce new APIs to support phylink and phy layers

2020-04-29 Thread Rafael J. Wysocki
On Wed, Apr 29, 2020 at 7:38 AM Calvin Johnson wrote: > > On Mon, Apr 27, 2020 at 03:48:07PM +0100, Russell King - ARM Linux admin > wrote: > > On Mon, Apr 27, 2020 at 08:02:38PM +0530, Calvin Johnson wrote: > > > On Mon, Apr 27, 2020 at 02:58:20PM +0100, Russell King - ARM Linux admin > > > wro

Re: [net-next PATCH v2 0/3] Introduce new APIs to support phylink and phy layers

2020-04-28 Thread Calvin Johnson
On Mon, Apr 27, 2020 at 03:48:07PM +0100, Russell King - ARM Linux admin wrote: > On Mon, Apr 27, 2020 at 08:02:38PM +0530, Calvin Johnson wrote: > > On Mon, Apr 27, 2020 at 02:58:20PM +0100, Russell King - ARM Linux admin > > wrote: > > > On Mon, Apr 27, 2020 at 06:54:06PM +0530, Calvin Johnson w

Re: [PATCH v2 0/3] Bluetooth: hci_qca: add support for QCA9377

2020-04-28 Thread Marcel Holtmann
Hi Christian, > This series adds a new compatible for the QCA9377 BT device that is found > in many Android TV box devices, makes minor changes to allow max-speed > values for the device to be read from device-tree, and updates bindings > to reflect those changes. > > v2 changes: rebase against b

[PATCH v2 0/3] igb, ixgbe, i40e UDP segmentation offload support

2019-10-10 Thread Josh Hunt
Alexander Duyck posted a series in 2018 proposing adding UDP segmentation offload support to ixgbe and ixgbevf, but those patches were never accepted: https://lore.kernel.org/netdev/20180504003556.4769.11407.stgit@localhost.localdomain/ This series is a repost of his ixgbe patch along with a simi

Re: [PATCH v2 0/3] Fix three issues found by syzbot

2019-08-12 Thread David Miller
From: Ying Xue Date: Mon, 12 Aug 2019 15:32:39 +0800 > Ying Xue (3): > tipc: fix memory leak issue > tipc: fix memory leak issue Please make the subject lines for these two patches unique. Perhaps mention what part of the tipc code has the memory leak you are fixing. Thanks.

[PATCH v2 0/3] Fix three issues found by syzbot

2019-08-12 Thread Ying Xue
In this series, try to fix two memory leak issues and another issue of calling smp_processor_id() in preemptible context. Changes since v1: - Fix "Reported-by:" missing in patch #3, which was reported by Jakub Kicinski Ying Xue (3): tipc: fix memory leak issue tipc: fix memory leak issue

Re: [PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread Jens Axboe
On 7/30/19 3:22 PM, David Miller wrote: > From: Jens Axboe > Date: Tue, 30 Jul 2019 20:49:09 + > >> Pretty appalled to see this abomination: >> >> net: Convert skb_frag_t to bio_vec >> >> There are a lot of users of frag->page_offset, so use a union >> to avoid converting those users today. >

Re: [PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread David Miller
From: Jens Axboe Date: Tue, 30 Jul 2019 20:49:09 + > Pretty appalled to see this abomination: > > net: Convert skb_frag_t to bio_vec > > There are a lot of users of frag->page_offset, so use a union > to avoid converting those users today. > > Signed-off-by: Matthew Wilcox (Oracle) > Sign

Re: [PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread David Miller
From: Jonathan Lemon Date: Tue, 30 Jul 2019 07:40:31 -0700 > The recent conversion of skb_frag_t to bio_vec did not include > skb_frag's page_offset. Add accessor functions for this field, > utilize them, and remove the union, restoring the original structure. > > v2: > - rename accessors >

Re: [PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread Jens Axboe
On 7/30/19 8:40 AM, Jonathan Lemon wrote: > The recent conversion of skb_frag_t to bio_vec did not include > skb_frag's page_offset. Add accessor functions for this field, > utilize them, and remove the union, restoring the original structure. You can add: Reviewed-by: Jens Axboe Pretty appall

Re: [PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread Jakub Kicinski
On Tue, 30 Jul 2019 07:40:31 -0700, Jonathan Lemon wrote: > The recent conversion of skb_frag_t to bio_vec did not include > skb_frag's page_offset. Add accessor functions for this field, > utilize them, and remove the union, restoring the original structure. Reviewed-by: Jakub Kicinski Thanks!

[PATCH v2 0/3 net-next] Finish conversion of skb_frag_t to bio_vec

2019-07-30 Thread Jonathan Lemon
The recent conversion of skb_frag_t to bio_vec did not include skb_frag's page_offset. Add accessor functions for this field, utilize them, and remove the union, restoring the original structure. v2: - rename accessors - follow kdoc conventions Jonathan Lemon (3): linux: Add page_offset ac

[PATCH V2 0/3] net: dsa: ksz: Add Microchip KSZ87xx support

2019-07-25 Thread Marek Vasut
This series adds support for Microchip KSZ87xx switches, which are slightly simpler compared to KSZ9xxx . Signed-off-by: Marek Vasut Cc: Andrew Lunn Cc: David S. Miller Cc: Florian Fainelli Cc: Tristram Ha Cc: Vivien Didelot Cc: Woojung Huh Marek Vasut (1): dt-bindings: net: dsa: ksz: do

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-24 Thread Luoshijie (Poincare Lab)
On 2019/6/25 0:03, David Miller wrote: > From: luoshijie > Date: Tue, 18 Jun 2019 15:14:02 + > >> From: Shijie Luo >> >> When enable route_localnet, route of the 127/8 address is enabled. >> But in some situations like arp_announce=2, ARP requests or reply >> work abnormally. >> >> This patc

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-24 Thread Zhiqiang Liu
On 2019/6/25 0:03, David Miller wrote: > From: luoshijie > Date: Tue, 18 Jun 2019 15:14:02 + > >> From: Shijie Luo >> >> When enable route_localnet, route of the 127/8 address is enabled. >> But in some situations like arp_announce=2, ARP requests or reply >> work abnormally. >> >> This p

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-24 Thread David Miller
From: luoshijie Date: Tue, 18 Jun 2019 15:14:02 + > From: Shijie Luo > > When enable route_localnet, route of the 127/8 address is enabled. > But in some situations like arp_announce=2, ARP requests or reply > work abnormally. > > This patchset fix some bugs when enable route_localnet. >

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-23 Thread David Ahern
On 6/22/19 6:46 AM, David Miller wrote: > From: Zhiqiang Liu > Date: Sat, 22 Jun 2019 16:41:49 +0800 > >> Friendly ping ... > > I'm not applying this patch series without someone reviewing it. > I have stared at it a few times since the patches were sent and can not find anything obviously wro

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-23 Thread Zhiqiang Liu
> From: Zhiqiang Liu > Date: Sat, 22 Jun 2019 16:41:49 +0800 > >> Friendly ping ... > > I'm not applying this patch series without someone reviewing it. > Of course, all patches should be reviewd before deciding whether to apply. In v2, we add a couple of test for enabling route_localnet in sel

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-22 Thread David Miller
From: Zhiqiang Liu Date: Sat, 22 Jun 2019 16:41:49 +0800 > Friendly ping ... I'm not applying this patch series without someone reviewing it.

Re: [PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-22 Thread Zhiqiang Liu
Friendly ping ... > From: Shijie Luo > > When enable route_localnet, route of the 127/8 address is enabled. > But in some situations like arp_announce=2, ARP requests or reply > work abnormally. > > This patchset fix some bugs when enable route_localnet. > > Change History: > V2: > - Change

[PATCH v2 0/3] fix bugs when enable route_localnet

2019-06-18 Thread luoshijie
From: Shijie Luo When enable route_localnet, route of the 127/8 address is enabled. But in some situations like arp_announce=2, ARP requests or reply work abnormally. This patchset fix some bugs when enable route_localnet. Change History: V2: - Change a single patch to a patchset. - Add bug fi

Re: [PATCH v2 0/3] auth_gss: netns refcount leaks when use-gss-proxy==1

2019-05-14 Thread J. Bruce Fields
Whoops, I was slow to test these. I'm getting failuring krb5 nfs mounts, and the following the server's logs. Dropping the three patches for now. --b. [ 40.894408] remove_proc_entry: removing non-empty directory 'net/rpc', leaking at least 'use-gss-proxy' [ 40.897352] WARNING: CPU: 2 PID:

Re: [bpf PATCH v2 0/3] sockmap/ktls fixes

2019-04-25 Thread Jakub Kicinski
On Thu, 25 Apr 2019 11:49:18 -0700, John Fastabend wrote: > On 4/25/19 11:30 AM, Jakub Kicinski wrote: > > On Thu, 25 Apr 2019 09:02:50 -0700, John Fastabend wrote: > >> Series of fixes for sockmap and ktls, see patches for descriptions. > >> > >> v2: fix build issue for CONFIG_TLS_DEVICE and fix

Re: [bpf PATCH v2 0/3] sockmap/ktls fixes

2019-04-25 Thread John Fastabend
On 4/25/19 11:30 AM, Jakub Kicinski wrote: > On Thu, 25 Apr 2019 09:02:50 -0700, John Fastabend wrote: >> Series of fixes for sockmap and ktls, see patches for descriptions. >> >> v2: fix build issue for CONFIG_TLS_DEVICE and fixup couple comments from >> Jakub. > > Ah, right my comment about

Re: [bpf PATCH v2 0/3] sockmap/ktls fixes

2019-04-25 Thread Jakub Kicinski
On Thu, 25 Apr 2019 09:02:50 -0700, John Fastabend wrote: > Series of fixes for sockmap and ktls, see patches for descriptions. > > v2: fix build issue for CONFIG_TLS_DEVICE and fixup couple comments from > Jakub. Ah, right my comment about the rx side sleeping was fairly nonsensical, the loc

[bpf PATCH v2 0/3] sockmap/ktls fixes

2019-04-25 Thread John Fastabend
Series of fixes for sockmap and ktls, see patches for descriptions. v2: fix build issue for CONFIG_TLS_DEVICE and fixup couple comments from Jakub. --- John Fastabend (3): bpf: tls, implement unhash to avoid transition out of ESTABLISHED bpf: sockmap remove duplicate queue free

[PATCH v2 0/3] net: add reset-controller driven PHY reset

2019-04-17 Thread David Bauer
This patchset adds support for a PHY reset driven by a reset-controller. Currently, only GPIO driven resets are supported by the PHY subsystem. v2: - fixed missed rename of "reset" in at803x.c - move initial reset to mdio_device_reset David Bauer (3): dt-bindings: net: add PHY reset controll

Re: [PATCH v2 0/3] ethtool: fix use of SPEED_UNKNOWN constant

2019-04-08 Thread David Miller
From: Michael Zhivich Date: Mon, 8 Apr 2019 10:48:44 -0400 > This patch series addresses 2 related issues: > > 1. ethtool_validate_speed() triggers a "signed-unsigned comparison" > warning due to type difference of SPEED_UNKNOWN constant (int) > and argument to ethtool_validate_speed (__u32). >

  1   2   3   >