Re: [RFC 0/3] staging: qlge: Re-writing the debugging features

2020-10-08 Thread Coiby Xu
On Thu, Aug 27, 2020 at 05:54:43PM +0800, Shung-Hsi Yu wrote: On Wed, Aug 26, 2020 at 03:52:06PM +0800, Shung-Hsi Yu wrote: On Sat, Aug 15, 2020 at 12:05:58AM +0800, Coiby Xu wrote: > This patch set aims to avoid dumping registers, data structures and > coredump to dmesg and also to reduce the c

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Coiby Xu
On Thu, Oct 08, 2020 at 08:22:44AM -0400, Willem de Bruijn wrote: On Thu, Oct 8, 2020 at 7:58 AM Coiby Xu wrote: Initialize devlink health dump framework for the dlge driver so the coredump could be done via devlink. Signed-off-by: Coiby Xu @@ -4556,6 +4559,13 @@ static int qlge_probe(str

Re: [PATCH iproute2-next v2 2/2] tc: implement support for terse dump

2020-10-08 Thread Jamal Hadi Salim
On 2020-10-07 9:40 p.m., David Ahern wrote: On 9/30/20 9:59 AM, Vlad Buslov wrote: From: Vlad Buslov Implement support for classifier/action terse dump using new TCA_DUMP_FLAGS tlv with only available flag value TCA_DUMP_FLAGS_TERSE. Set the flag when user requested it with following example C

Re: [PATCH net-next v6 4/7] net: dsa: hellcreek: Add support for hardware timestamping

2020-10-08 Thread Kamil Alkhouri
Hello dears, On Thu, 2020-10-08 at 12:01 +0200, Kurt Kanzenbach wrote: > On Thu Oct 08 2020, Vladimir Oltean wrote: > > On Thu, Oct 08, 2020 at 10:34:11AM +0200, Kurt Kanzenbach wrote: > > > On Wed Oct 07 2020, Vladimir Oltean wrote: > > > > On Wed, Oct 07, 2020 at 12:39:49PM +0200, Kurt Kanzenbac

Re: [PATCHv2 net-next 09/17] sctp: add SCTP_REMOTE_UDP_ENCAPS_PORT sockopt

2020-10-08 Thread kernel test robot
Hi Xin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Xin-Long/sctp-Implement-RFC6951-UDP-Encapsulation-of-SCTP/20201008-175211 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem

Re: [PATCH 0/7] wfx: move out from the staging area

2020-10-08 Thread Dan Carpenter
There are some static checker warnings to look at from linux-next from Tuesday. drivers/staging/wfx/hif_tx.c:319 hif_join() error: we previously assumed 'channel' could be null (see line 315) drivers/staging/wfx/main.c:228 wfx_send_pdata_pds() warn: potential NULL parameter dereference 'tmp_buf'

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Dan Carpenter
On Thu, Oct 08, 2020 at 07:58:03PM +0800, Coiby Xu wrote: > Initialize devlink health dump framework for the dlge driver so the > coredump could be done via devlink. > > Signed-off-by: Coiby Xu > --- > drivers/staging/qlge/Kconfig| 1 + > drivers/staging/qlge/Makefile | 2 +- > d

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Pierre-Louis Bossart
But ... since the init() function is performing both device_init and device_add - it should probably be called ancillary_device_register, and we are back to a single exported API for both register and unregister. Kind reminder that we introduced the two functions to allow the caller to know i

Re: [PATCH v1 2/6] staging: qlge: coredump via devlink health reporter

2020-10-08 Thread Dan Carpenter
On Thu, Oct 08, 2020 at 07:58:04PM +0800, Coiby Xu wrote: > -static int > -qlge_reporter_coredump(struct devlink_health_reporter *reporter, > - struct devlink_fmsg *fmsg, void *priv_ctx, > - struct netlink_ext_ack *extack) > +static int fill_seg_(struct devli

[PATCH iproute2-next 3/6] bridge: mdb: show igmpv3/mldv2 flags

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov With IGMPv3/MLDv2 support we have 2 new flags: - added_by_star_ex: set when the S,G entry was automatically created because of a *,G entry in EXCLUDE mode - blocked: set when traffic for the S,G entry for that port has to be blocked Bot

[PATCH iproute2-next 1/6] bridge: mdb: add support for source address

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov This patch adds the user-space control and dump of mdb entry source address. When setting the new MDBA_SET_ENTRY_ATTRS nested attribute is used and inside is added MDBE_ATTR_SOURCE based on the address family. When dumping we look for MDBA_MDB_EATTR_SOURCE and if present

[PATCH iproute2-next 5/6] bridge: mdb: print source list when available

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Print the mdb entry's source list when it's available if the user requested to show details (-d). Each source has an associated timer which controls if traffic should be forwarded to that S,G entry (if the timer is non-zero traffic is forwarded, otherwise it's not). Curr

[PATCH iproute2-next 2/6] bridge: mdb: print fast_leave flag

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov We're not showing the fast_leave flag when it's set. Currently that can be only when an mdb entry is being deleted due to fast leave, so it will only affect mdb monitor. Signed-off-by: Nikolay Aleksandrov --- bridge/mdb.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH iproute2-next 6/6] bridge: mdb: print protocol when available

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Print the mdb entry's protocol (i.e. who added it) when it's available if the user requested to show details (-d). Currently the only possible values are RTPROT_STATIC (user-space added) or RTPROT_KERNEL (automatically added by kernel). The value is kernel controlled.

[PATCH iproute2-next 4/6] bridge: mdb: print filter mode when available

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Print the mdb entry's filter mode when it's available if the user requested to show details (-d). It can be either include or exclude. Currently it's kernel controlled and can't be changed by user-space. Signed-off-by: Nikolay Aleksandrov --- bridge/mdb.c | 7 +++

[PATCH iproute2-next 0/6] bridge: mdb: add support for IGMPv3/MLDv2 attributes

2020-10-08 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov Hi, This set adds support for IGMPv3/MLDv2 attributes, they're mostly read-only at the moment. The only new "set" option is the source address for S,G entries. It is added in patch 01 (see the patch commit message for an example). Patch 02 shows a missing flag (fast_leav

Re: [PATCH bpf-next V2 1/6] bpf: Remove MTU check in __bpf_skb_max_len

2020-10-08 Thread Jesper Dangaard Brouer
On Thu, 8 Oct 2020 08:33:04 -0400 Willem de Bruijn wrote: > On Thu, Oct 8, 2020 at 7:06 AM Jesper Dangaard Brouer > wrote: > > > > On Wed, 7 Oct 2020 16:46:10 -0700 > > Maciej Żenczykowski wrote: > > > > > > static u32 __bpf_skb_max_len(const struct sk_buff *skb) > > > > { > > > > -

[PATCH bpf-next V3 0/6] bpf: New approach for BPF MTU handling

2020-10-08 Thread Jesper Dangaard Brouer
This patchset drops all the MTU checks in TC BPF-helpers that limits growing the packet size. This is done because these BPF-helpers doesn't take redirect into account, which can result in their MTU check being done against the wrong netdev. The new approach is to give BPF-programs knowledge about

[PATCH bpf-next V3 1/6] bpf: Remove MTU check in __bpf_skb_max_len

2020-10-08 Thread Jesper Dangaard Brouer
Multiple BPF-helpers that can manipulate/increase the size of the SKB uses __bpf_skb_max_len() as the max-length. This function limit size against the current net_device MTU (skb->dev->mtu). When a BPF-prog grow the packet size, then it should not be limited to the MTU. The MTU is a transmit limit

[PATCH bpf-next V3 4/6] bpf: make it possible to identify BPF redirected SKBs

2020-10-08 Thread Jesper Dangaard Brouer
This change makes it possible to identify SKBs that have been redirected by TC-BPF (cls_act). This is needed for a number of cases. (1) For collaborating with driver ifb net_devices. (2) For avoiding starting generic-XDP prog on TC ingress redirect. Signed-off-by: Jesper Dangaard Brouer --- net

[PATCH bpf-next V3 5/6] bpf: drop MTU check when doing TC-BPF redirect to ingress

2020-10-08 Thread Jesper Dangaard Brouer
The use-case for dropping the MTU check when TC-BPF does redirect to ingress, is described by Eyal Birger in email[0]. The summary is the ability to increase packet size (e.g. with IPv6 headers for NAT64) and ingress redirect packet and let normal netstack fragment packet as needed. [0] https://l

[PATCH bpf-next V3 3/6] bpf: add BPF-helper for MTU checking

2020-10-08 Thread Jesper Dangaard Brouer
This BPF-helper bpf_mtu_check() works for both XDP and TC-BPF programs. The API is designed to help the BPF-programmer, that want to do packet context size changes, which involves other helpers. These other helpers usually does a delta size adjustment. This helper also support a delta size (len_di

[PATCH bpf-next V3 6/6] net: inline and splitup is_skb_forwardable

2020-10-08 Thread Jesper Dangaard Brouer
The BPF-helper bpf_skb_fib_lookup() use is_skb_forwardable() that also checks if net_device is "up", which is unnecessary for this helper. This patch splitup is_skb_forwardable() into is_skb_fwd_size_ok() such that the helper can use this instead. This change also cause is_skb_forwardable() to be

[PATCH bpf-next V3 2/6] bpf: bpf_fib_lookup return MTU value as output when looked up

2020-10-08 Thread Jesper Dangaard Brouer
The BPF-helpers for FIB lookup (bpf_xdp_fib_lookup and bpf_skb_fib_lookup) can perform MTU check and return BPF_FIB_LKUP_RET_FRAG_NEEDED. The BPF-prog don't know the MTU value that caused this rejection. If the BPF-prog wants to implement PMTU (Path MTU Discovery) (rfc1191) it need to know this M

[PATCH bpf-next] xsk: introduce padding between ring pointers

2020-10-08 Thread Magnus Karlsson
From: Magnus Karlsson Introduce one cache line worth of padding between the producer and consumer pointers in all the lockless rings. This so that the HW adjacency prefetcher will not prefetch the consumer pointer when the producer pointer is used and vice versa. This improves throughput performa

[PATCH][next] net: thunderx: Use struct_size() helper in kmalloc()

2020-10-08 Thread Gustavo A. R. Silva
Make use of the new struct_size() helper instead of the offsetof() idiom. Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/ne

Re: [PATCH net-next] neigh: add netlink filtering based on LLADDR for dump

2020-10-08 Thread Eric Dumazet
On 10/8/20 12:59 PM, Florent Fourcot wrote: > neighbours table dump supports today two filtering: > * based on interface index > * based on master index > > This patch adds a new filtering, based on layer two address. That will > help to replace something like it: > > ip neigh show | grep a

Re: [PATCHv2 net-next 15/17] sctp: add the error cause for new encapsulation port restart

2020-10-08 Thread kernel test robot
Hi Xin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Xin-Long/sctp-Implement-RFC6951-UDP-Encapsulation-of-SCTP/20201008-175211 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem

RE: [PATCH] dpaa_eth: enable NETIF_MSG_HW by default

2020-10-08 Thread Madalin Bucur (OSS)
> -Original Message- > From: Vladimir Oltean > To: da...@davemloft.net > Subject: [PATCH] dpaa_eth: enable NETIF_MSG_HW by default > > From: Maxim Kochetkov > > When packets are received on the error queue, this function under > net_ratelimit(): > > netif_err(priv, hw, net_dev, "Err FD

Re: [PATCH v4 bpf-next 00/13] mvneta: introduce XDP multi-buffer support

2020-10-08 Thread John Fastabend
Lorenzo Bianconi wrote: > > On Mon, 05 Oct 2020 21:29:36 -0700 > > John Fastabend wrote: > > > > > Lorenzo Bianconi wrote: > > > > [...] > > > > > > > > > > > > > > In general I see no reason to populate these fields before the XDP > > > > > program runs. Someone needs to convince me why havi

[net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio

2020-10-08 Thread Calvin Johnson
Better place for of_mdio.c is drivers/net/mdio. Move of_mdio.c from drivers/of to drivers/net/mdio Signed-off-by: Calvin Johnson --- MAINTAINERS| 2 +- drivers/net/mdio/Kconfig | 8 drivers/net/mdio/Makefile | 2 ++ drivers/{of => net/mdio}/of

Re: [PATCH net-next] neigh: add netlink filtering based on LLADDR for dump

2020-10-08 Thread Florent Fourcot
Hello Éric, + if (memcmp(lladdr, neigh->ha, neigh->dev->addr_len) != 0) Where do you check that lladdr contains exactly neigh->dev->addr_len bytes ? True, I do not check. I had some doubt about the best implementation, since we could do: * exact matching * prefix matching (with a

pull-request: bpf 2020-10-08

2020-10-08 Thread Daniel Borkmann
Hi David, The following pull-request contains BPF updates for your *net* tree. We've added 2 non-merge commits during the last 8 day(s) which contain a total of 2 files changed, 10 insertions(+), 4 deletions(-). The main changes are: 1) Fix "unresolved symbol" build error under CONFIG_NET w/o C

[PATCH bpf-next] bpf_fib_lookup: return target ifindex even if neighbour lookup fails

2020-10-08 Thread Toke Høiland-Jørgensen
The bpf_fib_lookup() helper performs a neighbour lookup for the destination IP and returns BPF_FIB_LKUP_NO_NEIGH if this fails, with the expectation that the BPF program will pass the packet up the stack in this case. However, with the addition of bpf_redirect_neigh() that can be used instead to pe

[PATCH net-next] cxgb4/ch_ipsec: Replace the module name to ch_ipsec from chcr

2020-10-08 Thread Ayush Sawal
This patch changes the module name to "ch_ipsec" and prepends "ch_ipsec" string instead of "chcr" in all debug messages and function names. Fixes: 1b77be463929 ("crypto/chcr: Moving chelsio's inline ipsec functionality to /drivers/net") Signed-off-by: Ayush Sawal --- drivers/crypto/chelsio/chcr

KASAN: slab-out-of-bounds Read in strset_parse_request

2020-10-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:9faebeb2 Merge branch 'ethtool-allow-dumping-policies-to-u.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=15f7dc0050 kernel config: https://syzkaller.appspot.com/x/.config?x=8ad9ecfafd94317b das

Re: [PATCH bpf-next] bpf_fib_lookup: return target ifindex even if neighbour lookup fails

2020-10-08 Thread Daniel Borkmann
On 10/8/20 4:53 PM, Toke Høiland-Jørgensen wrote: The bpf_fib_lookup() helper performs a neighbour lookup for the destination IP and returns BPF_FIB_LKUP_NO_NEIGH if this fails, with the expectation that the BPF program will pass the packet up the stack in this case. However, with the addition of

Re: [PATCH net-next v2 3/7] ethtool: trim policy tables

2020-10-08 Thread Eric Dumazet
On 10/8/20 11:15 AM, Johannes Berg wrote: > On Thu, 2020-10-08 at 11:13 +0200, Johannes Berg wrote: > >>> This implies that all policy tables must be 'complete'. > > Also, yes they had to be complete already, perhaps *except* for NLA_FLAG > like this below use ... > >>> So when later strset_p

Re: [PATCH net-next v6 4/7] net: dsa: hellcreek: Add support for hardware timestamping

2020-10-08 Thread Vladimir Oltean
Hi Kamil, On Thu, Oct 08, 2020 at 02:55:57PM +0200, Kamil Alkhouri wrote: > Hello dears, > > On Thu, 2020-10-08 at 12:01 +0200, Kurt Kanzenbach wrote: > > On Thu Oct 08 2020, Vladimir Oltean wrote: > > > On Thu, Oct 08, 2020 at 10:34:11AM +0200, Kurt Kanzenbach wrote: > > > > On Wed Oct 07 2020,

Re: [net-next PATCH v1] net: phy: Move of_mdio from drivers/of to drivers/net/mdio

2020-10-08 Thread Grant Likely
On 08/10/2020 15:47, Calvin Johnson wrote: Better place for of_mdio.c is drivers/net/mdio. Move of_mdio.c from drivers/of to drivers/net/mdio Signed-off-by: Calvin Johnson In-Principle-Acked-By: Grant Likely ... but I've not tested or compiled *anything*! g. --- MAINTAINERS

Re: [PATCH bpf-next 1/3] bpf: Propagate scalar ranges through register assignments.

2020-10-08 Thread John Fastabend
Alexei Starovoitov wrote: > On Wed, Oct 07, 2020 at 04:55:24PM -0700, John Fastabend wrote: > > John Fastabend wrote: > > > Alexei Starovoitov wrote: > > > > From: Alexei Starovoitov > > > > > > > > The llvm register allocator may use two different registers > > > > representing the > > > > same

Re: [PATCH iproute2-next v2 2/2] tc: implement support for terse dump

2020-10-08 Thread Vlad Buslov
On Thu 08 Oct 2020 at 15:58, Jamal Hadi Salim wrote: > On 2020-10-07 9:40 p.m., David Ahern wrote: >> On 9/30/20 9:59 AM, Vlad Buslov wrote: >>> From: Vlad Buslov >>> >>> Implement support for classifier/action terse dump using new TCA_DUMP_FLAGS >>> tlv with only available flag value TCA_DUMP_

Re: [PATCHv2 net-next 17/17] sctp: enable udp tunneling socks

2020-10-08 Thread kernel test robot
Hi Xin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Xin-Long/sctp-Implement-RFC6951-UDP-Encapsulation-of-SCTP/20201008-175211 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem

[PATCH 1/3] ARM: remove ebsa110 platform

2020-10-08 Thread Arnd Bergmann
Russell said that he is no longer using this machine, and it seems that nobody else has in a long time, so it's time to say goodbye to it. As this is the last platform using CONFIG_ARCH_USES_GETTIMEOFFSET, there are some follow-up patches to remove that as well. Signed-off-by: Arnd Bergmann ---

[PATCH 0/3] ARM, timers: ebsa110 cleanup

2020-10-08 Thread Arnd Bergmann
The ebsa110 platform is the last thing that uses CONFIG_ARCH_USES_GETTIMEOFFSET, and Russell has previously said that he thinks the platform can be retired now. Removing it allows us clean up the timer code by throwing out all of the references to arch_gettimeoffset(). The am79c961a network drive

[PATCH 2/3] net: remove am79c961a driver

2020-10-08 Thread Arnd Bergmann
This driver was only used on the EBSA110 platform, which is now getting removed, so the driver is no longer needed either. Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/amd/Kconfig | 10 +- drivers/net/ethernet/amd/Makefile| 1 - drivers/net/ethernet/amd/am79c961a.c | 763

[PATCH 3/3] timekeeping: remove arch_gettimeoffset

2020-10-08 Thread Arnd Bergmann
With Arm EBSA110 gone, nothing uses it any more, so the corresponding code and the Kconfig option can be removed. Signed-off-by: Arnd Bergmann --- .../time/modern-timekeeping/arch-support.txt | 33 --- drivers/Makefile | 2 -- drivers/clocksource/Kc

[PATCH net 000/117] net: avoid to remove module when its debugfs is being used

2020-10-08 Thread Taehee Yoo
When debugfs file is opened, its module should not be removed until it's closed. Because debugfs internally uses the module's data. So, it could access freed memory. In order to avoid panic, it just sets .owner to THIS_MODULE. So that all modules will be held when its debugfs file is opened. Tes

[PATCH net 002/117] mac80211: set rcname_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 4b7679a561e5 ("mac80211: clean up rate control API") Signed-off-by: Taehee Yoo --- net/mac80211/rate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/rat

[PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ma

[PATCH net 012/117] mac80211: debugfs: set airtime_flags_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e322c07f8371 ("mac80211: debugfs: improve airtime_flags handler readability") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)

[PATCH net 004/117] mac80211: set minstrel_ht_stat_csv_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 2cae0b6a70d6 ("mac80211: add new Minstrel-HT statistic output via csv") Signed-off-by: Taehee Yoo --- net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 + 1 file changed, 1 i

[PATCH net 011/117] mac80211: set aqm_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 9399b86c0e9a ("mac80211: add debug knobs for fair queuing") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ma

[PATCH net 009/117] mac80211: set STA_OPS_RW.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: a75b4363eaaf ("mac80211: allow controlling aggregation manually") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_sta.c | 1 + 1 file changed, 1 insertion(+) diff --gi

[PATCH net 010/117] mac80211: set DEBUGFS_READONLY_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/

[PATCH net 007/117] mac80211: set KEY_CONF_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 8f20fc24986a ("[MAC80211]: embed key conf in key, fix driver interface") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH net 015/117] mac80211: set reset_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 827b1fb44b7e ("mac80211: resume properly, add suspend/resume test") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net 005/117] mac80211: set KEY_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80

[PATCH net 017/117] mac80211/cfg80211: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 1ac61302dcd1 ("mac80211/cfg80211: move wiphy specific debugfs entries to cfg80211") Signed-off-by: Taehee Yoo --- net/wireless/debugfs.c | 1 + 1 file changed, 1 insertio

[PATCH net 008/117] mac80211: set STA_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_sta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80

[PATCH net 003/117] mac80211: set minstrel_ht_stat_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: ec8aa669b839 ("mac80211: add the minstrel_ht rate control algorithm") Signed-off-by: Taehee Yoo --- net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 + 1 file changed, 1 ins

[PATCH net 006/117] mac80211: set KEY_OPS_W.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: d0a77c6569ab ("mac80211: allow writing TX PN in debugfs") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/

[PATCH net 014/117] mac80211: set force_tx_status_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 276d9e82e06c ("mac80211: debugfs option to force TX status frames") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net 022/117] netdevsim: set nsim_dev_health_break_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters") Signed-off-by: Taehee Yoo --- drivers/net/netdevsim/health.c | 1 + 1 file changed, 1 ins

[PATCH net 023/117] netdevsim: set nsim_udp_tunnels_info_reset_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 424be63ad831 ("netdevsim: add UDP tunnel port offload support") Signed-off-by: Taehee Yoo --- drivers/net/netdevsim/udp_tunnels.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH net 016/117] mac80211: set DEBUGFS_DEVSTATS_FILE.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/

[PATCH net 032/117] wl1271: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: f5fc0f86b02a ("wl1271: add wl1271 driver files") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH net 024/117] netdevsim: set nsim_dev_take_snapshot_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 4418f862d675 ("netdevsim: implement support for devlink region and snapshots") Signed-off-by: Taehee Yoo --- drivers/net/netdevsim/dev.c | 1 + 1 file changed, 1 insertio

[PATCH net 034/117] wlcore: set DEBUGFS_FWSTATS_FILE_ARRAY.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: bcca1bbdd412 ("wlcore: add debugfs macro to help print fw statistics arrays") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed

[PATCH net 031/117] dpaa2-eth: set dpaa2_dbg_ch_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 091a19ea6e34 ("dpaa2-eth: add debugfs statistics") Signed-off-by: Taehee Yoo --- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 + 1 file changed, 1 insertio

Re: [PATCH bpf-next 1/3] bpf: Propagate scalar ranges through register assignments.

2020-10-08 Thread Alexei Starovoitov
On Thu, Oct 08, 2020 at 08:18:46AM -0700, John Fastabend wrote: > > > > I couldn't think of any other case where scalar's ID has to be cleared. > > Any kind of assignment and r0 return do it as well. > > How about a zero extending move? > > r1 = r2 <- r1.id = r2.id > w1 = w1 > > that will nar

[PATCH net 021/117] 6lowpan: iphc: set lowpan_ctx_pfx_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 5609c185f24d ("6lowpan: iphc: add support for stateful compression") Signed-off-by: Taehee Yoo --- net/6lowpan/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net 025/117] netdevsim: set nsim_dev_trap_fa_cookie_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: d3cbb907ae57 ("netdevsim: add ACL trap reporting cookie as a metadata") Signed-off-by: Taehee Yoo --- drivers/net/netdevsim/dev.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH net 033/117] wl1271: set DEBUGFS_FWSTATS_FILE.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: f5fc0f86b02a ("wl1271: add wl1271 driver files") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH net 020/117] batman-adv: set batadv_log_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 9e466250ede3 ("batman-adv: Prefix bat_debugfs local static functions with batadv_") Signed-off-by: Taehee Yoo --- net/batman-adv/log.c | 1 + 1 file changed, 1 insertion(

[PATCH net 026/117] ieee802154: set test_int_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver") Signed-off-by: Taehee Yoo --- drivers/net/ieee802154/ca8210.c | 3 ++- 1 file changed, 2 insertions(+),

[PATCH net 013/117] mac80211: set aql_txq_limit_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 3ace10f5b5ad ("mac80211: Implement Airtime-based Queue Limit (AQL)") Signed-off-by: Taehee Yoo --- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net 018/117] cfg80211: set ht40allow_map_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 80a3511d70e8 ("cfg80211: add debugfs HT40 allow map") Signed-off-by: Taehee Yoo --- net/wireless/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless

[PATCH net 019/117] net: hsr: set hsr_fops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: fc4ecaeebd26 ("net: hsr: add debugfs support for display node list") Signed-off-by: Taehee Yoo --- net/hsr/hsr_debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH net 030/117] dpaa2-eth: set dpaa2_dbg_fq_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 091a19ea6e34 ("dpaa2-eth: add debugfs statistics") Signed-off-by: Taehee Yoo --- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 + 1 file changed, 1 insertio

[PATCH net 045/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH net 043/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 712b6cf57a53 ("iwlwifi: Add debugfs to iwl core") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 + 1 file changed, 1 insertion(+) dif

[PATCH net 049/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1

[PATCH net 041/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 712b6cf57a53 ("iwlwifi: Add debugfs to iwl core") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 + 1 file changed, 1 insertion(+) dif

[PATCH net 050/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1

[PATCH net 047/117] iwlwifi: mvm: set .owner to THIS_MODULE in debugfs.h

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH net 046/117] iwlwifi: mvm: set rs_sta_dbgfs_drv_tx_stats_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 757cf23b4b4b ("iwlwifi: mvm: add per rate tx stats") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH net 040/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 0209dc11c769 ("[PATCH] iwlwifi: add debugfs rate scale stats") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 + 1 file changed, 1 insertion

[PATCH net 044/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCH net 039/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 5ae212c9273d ("[PATCH] iwlwifi: add read rate scale table debugfs function") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 + 1 file chang

[PATCH net 037/117] wl12xx: set tx_queue_len_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 2f01a1f58889 ("wl12xx: add driver") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ti/wl1251/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/

[PATCH net 054/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlegacy/debug.c | 1 + 1 file c

[PATCH net 052/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlegacy/debug.c | 1 + 1 file c

[PATCH net 058/117] iwlwifi: set rs_sta_dbgfs_rate_scale_data_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 + 1 file

[PATCH net 048/117] iwlwifi: mvm: set iwl_dbgfs_mem_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 2b55f43f8e47 ("iwlwifi: mvm: Add mem debugfs entry") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 + 1 file changed, 1 insertion(+)

[PATCH net 055/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 4bc85c1324aa ("Revert "iwlwifi: split the drivers for agn and legacy devices 3945/4965"") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlegacy/3945-rs.c | 1

[PATCH net 063/117] rtlwifi: set file_ops_common.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 610247f46feb ("rtlwifi: Improve debugging by using debugfs") Signed-off-by: Taehee Yoo --- drivers/net/wireless/realtek/rtlwifi/debug.c | 1 + 1 file changed, 1 insertion(

[PATCH net 051/117] iwlwifi: runtime: set _FWRT_DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1

[PATCH net 069/117] ath10k: set fops_quiet_period.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: 63fb32df9786 ("ath10k: add debugfs entry to configure quiet period") Signed-off-by: Taehee Yoo --- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 inser

[PATCH net 056/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE

2020-10-08 Thread Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965") Signed-off-by: Taehee Yoo --- drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 + 1 file

<    1   2   3   4   5   >