From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache.
Date: Sat, 13 Apr 2024 08:36:41 +0800 [thread overview]
Message-ID: <202404130802.rDxN3ijD-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence static check warning: include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20240412060553.3483630-4-steffen.klassert@secunet.com>
References: <20240412060553.3483630-4-steffen.klassert@secunet.com>
TO: Steffen Klassert <steffen.klassert@secunet.com>
TO: netdev@vger.kernel.org
TO: devel@linux-ipsec.org
TO: Paul Wouters <paul@nohats.ca>
TO: Antony Antony <antony.antony@secunet.com>
TO: Tobias Brunner <tobias@strongswan.org>
TO: Daniel Xu <dxu@dxuuu.xyz>
CC: Steffen Klassert <steffen.klassert@secunet.com>
Hi Steffen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on klassert-ipsec-next/master]
[also build test WARNING on klassert-ipsec/master net/main net-next/main linus/master v6.9-rc3 next-20240412]
[cannot apply to horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Steffen-Klassert/xfrm-Add-support-for-per-cpu-xfrm-state-handling/20240412-140746
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master
patch link: https://lore.kernel.org/r/20240412060553.3483630-4-steffen.klassert%40secunet.com
patch subject: [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache.
:::::: branch date: 18 hours ago
:::::: commit date: 18 hours ago
config: i386-randconfig-061-20240413 (https://download.01.org/0day-ci/archive/20240413/202404130802.rDxN3ijD-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240413/202404130802.rDxN3ijD-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202404130802.rDxN3ijD-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/altera/altera_tse_ethtool.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_msgdma.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_utils.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/if_vlan.h, ...):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_sgdma.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/if_vlan.h, ...):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_tse_main.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/etherdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
vim +46 include/net/netns/xfrm.h
880a6fab8f6ba5b Christophe Gouault 2014-08-29 31
d62ddc21b674b5a Alexey Dobriyan 2008-11-25 32 struct netns_xfrm {
9d4139c76905833 Alexey Dobriyan 2008-11-25 33 struct list_head state_all;
73d189dce486cd6 Alexey Dobriyan 2008-11-25 34 /*
73d189dce486cd6 Alexey Dobriyan 2008-11-25 35 * Hash table to find appropriate SA towards given target (endpoint of
73d189dce486cd6 Alexey Dobriyan 2008-11-25 36 * tunnel or destination of transport mode) allowed by selector.
73d189dce486cd6 Alexey Dobriyan 2008-11-25 37 *
73d189dce486cd6 Alexey Dobriyan 2008-11-25 38 * Main use is finding SA after policy selected tunnel or transport
73d189dce486cd6 Alexey Dobriyan 2008-11-25 39 * mode. Also, it can be used by ah/esp icmp error handler to find
73d189dce486cd6 Alexey Dobriyan 2008-11-25 40 * offending SA.
73d189dce486cd6 Alexey Dobriyan 2008-11-25 41 */
d737a5805581c6f Florian Westphal 2016-08-09 42 struct hlist_head __rcu *state_bydst;
d737a5805581c6f Florian Westphal 2016-08-09 43 struct hlist_head __rcu *state_bysrc;
d737a5805581c6f Florian Westphal 2016-08-09 44 struct hlist_head __rcu *state_byspi;
fe9f1d8779cb470 Sabrina Dubroca 2021-04-25 45 struct hlist_head __rcu *state_byseq;
042bf7320e286f6 Steffen Klassert 2024-04-12 @46 struct hlist_head __rcu __percpu *state_cache_input;
529983ecabeae3d Alexey Dobriyan 2008-11-25 47 unsigned int state_hmask;
0bf7c5b019518d3 Alexey Dobriyan 2008-11-25 48 unsigned int state_num;
630827338585022 Alexey Dobriyan 2008-11-25 49 struct work_struct state_hash_work;
50a30657fd7ee77 Alexey Dobriyan 2008-11-25 50
adfcf0b27e87d16 Alexey Dobriyan 2008-11-25 51 struct list_head policy_all;
93b851c1c93c7d5 Alexey Dobriyan 2008-11-25 52 struct hlist_head *policy_byidx;
8100bea7d619e84 Alexey Dobriyan 2008-11-25 53 unsigned int policy_idx_hmask;
3e4bc23926b83c3 Eric Dumazet 2023-09-08 54 unsigned int idx_generator;
53c2e285f970300 Herbert Xu 2014-11-13 55 struct hlist_head policy_inexact[XFRM_POLICY_MAX];
53c2e285f970300 Herbert Xu 2014-11-13 56 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX];
dc2caba7b321289 Alexey Dobriyan 2008-11-25 57 unsigned int policy_count[XFRM_POLICY_MAX * 2];
66caf628c3b634c Alexey Dobriyan 2008-11-25 58 struct work_struct policy_hash_work;
880a6fab8f6ba5b Christophe Gouault 2014-08-29 59 struct xfrm_policy_hthresh policy_hthresh;
24969facd704a5f Florian Westphal 2018-11-07 60 struct list_head inexact_bins;
a6483b790f8efcd Alexey Dobriyan 2008-11-25 61
d7c7544c3d5f590 Alexey Dobriyan 2010-01-24 62
a6483b790f8efcd Alexey Dobriyan 2008-11-25 63 struct sock *nlsk;
d79d792ef9f99cc Eric W. Biederman 2009-12-03 64 struct sock *nlsk_stash;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 65
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 66 u32 sysctl_aevent_etime;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 67 u32 sysctl_aevent_rseqth;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 68 int sysctl_larval_drop;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 69 u32 sysctl_acq_expires;
2d151d39073aff4 Steffen Klassert 2021-07-18 70
b58b1f563ab7895 Nicolas Dichtel 2022-03-14 71 u8 policy_default[XFRM_POLICY_MAX];
2d151d39073aff4 Steffen Klassert 2021-07-18 72
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <yujie.liu@intel.com>
To: Steffen Klassert <steffen.klassert@secunet.com>,
<netdev@vger.kernel.org>, <devel@linux-ipsec.org>,
Paul Wouters <paul@nohats.ca>,
Antony Antony <antony.antony@secunet.com>,
Tobias Brunner <tobias@strongswan.org>,
"Daniel Xu" <dxu@dxuuu.xyz>
Cc: <oe-kbuild-all@lists.linux.dev>,
Steffen Klassert <steffen.klassert@secunet.com>
Subject: Re: [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache.
Date: Tue, 16 Apr 2024 10:33:47 +0800 [thread overview]
Message-ID: <202404130802.rDxN3ijD-lkp@intel.com> (raw)
In-Reply-To: <20240412060553.3483630-4-steffen.klassert@secunet.com>
Hi Steffen,
kernel test robot noticed the following build warnings:
[auto build test WARNING on klassert-ipsec-next/master]
[also build test WARNING on klassert-ipsec/master net/main net-next/main linus/master v6.9-rc3 next-20240412]
[cannot apply to horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Steffen-Klassert/xfrm-Add-support-for-per-cpu-xfrm-state-handling/20240412-140746
base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master
patch link: https://lore.kernel.org/r/20240412060553.3483630-4-steffen.klassert%40secunet.com
patch subject: [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache.
config: i386-randconfig-061-20240413 (https://download.01.org/0day-ci/archive/20240413/202404130802.rDxN3ijD-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240413/202404130802.rDxN3ijD-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yujie.liu@intel.com>
| Closes: https://lore.kernel.org/r/202404130802.rDxN3ijD-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/altera/altera_tse_ethtool.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_msgdma.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_utils.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/if_vlan.h, ...):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_sgdma.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/if_vlan.h, ...):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
--
drivers/net/ethernet/altera/altera_tse_main.c: note: in included file (through include/net/net_namespace.h, include/linux/netdevice.h, include/linux/etherdevice.h):
>> include/net/netns/xfrm.h:46:39: sparse: sparse: duplicate [noderef]
>> include/net/netns/xfrm.h:46:39: sparse: sparse: multiple address spaces given: __rcu & __percpu
vim +46 include/net/netns/xfrm.h
880a6fab8f6ba5b Christophe Gouault 2014-08-29 31
d62ddc21b674b5a Alexey Dobriyan 2008-11-25 32 struct netns_xfrm {
9d4139c76905833 Alexey Dobriyan 2008-11-25 33 struct list_head state_all;
73d189dce486cd6 Alexey Dobriyan 2008-11-25 34 /*
73d189dce486cd6 Alexey Dobriyan 2008-11-25 35 * Hash table to find appropriate SA towards given target (endpoint of
73d189dce486cd6 Alexey Dobriyan 2008-11-25 36 * tunnel or destination of transport mode) allowed by selector.
73d189dce486cd6 Alexey Dobriyan 2008-11-25 37 *
73d189dce486cd6 Alexey Dobriyan 2008-11-25 38 * Main use is finding SA after policy selected tunnel or transport
73d189dce486cd6 Alexey Dobriyan 2008-11-25 39 * mode. Also, it can be used by ah/esp icmp error handler to find
73d189dce486cd6 Alexey Dobriyan 2008-11-25 40 * offending SA.
73d189dce486cd6 Alexey Dobriyan 2008-11-25 41 */
d737a5805581c6f Florian Westphal 2016-08-09 42 struct hlist_head __rcu *state_bydst;
d737a5805581c6f Florian Westphal 2016-08-09 43 struct hlist_head __rcu *state_bysrc;
d737a5805581c6f Florian Westphal 2016-08-09 44 struct hlist_head __rcu *state_byspi;
fe9f1d8779cb470 Sabrina Dubroca 2021-04-25 45 struct hlist_head __rcu *state_byseq;
042bf7320e286f6 Steffen Klassert 2024-04-12 @46 struct hlist_head __rcu __percpu *state_cache_input;
529983ecabeae3d Alexey Dobriyan 2008-11-25 47 unsigned int state_hmask;
0bf7c5b019518d3 Alexey Dobriyan 2008-11-25 48 unsigned int state_num;
630827338585022 Alexey Dobriyan 2008-11-25 49 struct work_struct state_hash_work;
50a30657fd7ee77 Alexey Dobriyan 2008-11-25 50
adfcf0b27e87d16 Alexey Dobriyan 2008-11-25 51 struct list_head policy_all;
93b851c1c93c7d5 Alexey Dobriyan 2008-11-25 52 struct hlist_head *policy_byidx;
8100bea7d619e84 Alexey Dobriyan 2008-11-25 53 unsigned int policy_idx_hmask;
3e4bc23926b83c3 Eric Dumazet 2023-09-08 54 unsigned int idx_generator;
53c2e285f970300 Herbert Xu 2014-11-13 55 struct hlist_head policy_inexact[XFRM_POLICY_MAX];
53c2e285f970300 Herbert Xu 2014-11-13 56 struct xfrm_policy_hash policy_bydst[XFRM_POLICY_MAX];
dc2caba7b321289 Alexey Dobriyan 2008-11-25 57 unsigned int policy_count[XFRM_POLICY_MAX * 2];
66caf628c3b634c Alexey Dobriyan 2008-11-25 58 struct work_struct policy_hash_work;
880a6fab8f6ba5b Christophe Gouault 2014-08-29 59 struct xfrm_policy_hthresh policy_hthresh;
24969facd704a5f Florian Westphal 2018-11-07 60 struct list_head inexact_bins;
a6483b790f8efcd Alexey Dobriyan 2008-11-25 61
d7c7544c3d5f590 Alexey Dobriyan 2010-01-24 62
a6483b790f8efcd Alexey Dobriyan 2008-11-25 63 struct sock *nlsk;
d79d792ef9f99cc Eric W. Biederman 2009-12-03 64 struct sock *nlsk_stash;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 65
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 66 u32 sysctl_aevent_etime;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 67 u32 sysctl_aevent_rseqth;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 68 int sysctl_larval_drop;
b27aeadb5948d40 Alexey Dobriyan 2008-11-25 69 u32 sysctl_acq_expires;
2d151d39073aff4 Steffen Klassert 2021-07-18 70
b58b1f563ab7895 Nicolas Dichtel 2022-03-14 71 u8 policy_default[XFRM_POLICY_MAX];
2d151d39073aff4 Steffen Klassert 2021-07-18 72
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-04-13 0:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-13 0:36 kernel test robot [this message]
2024-04-16 2:33 ` [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-04-12 6:05 [PATCH ipsec-next 0/3] Add support for per cpu xfrm states Steffen Klassert
2024-04-12 6:05 ` [PATCH ipsec-next 1/3] xfrm: Add support for per cpu xfrm state handling Steffen Klassert
2024-04-12 10:37 ` Tobias Brunner
2024-04-18 9:45 ` Steffen Klassert
2024-04-14 11:05 ` Simon Horman
2024-04-18 9:46 ` Steffen Klassert
2024-04-15 14:12 ` Sabrina Dubroca
2024-04-18 9:50 ` Steffen Klassert
2024-04-12 6:05 ` [PATCH ipsec-next 2/3] xfrm: Cache used outbound xfrm states at the policy Steffen Klassert
2024-04-16 21:51 ` Daniel Xu
2024-04-18 10:01 ` Steffen Klassert
2024-04-12 6:05 ` [PATCH ipsec-next 3/3] xfrm: Add an inbound percpu state cache Steffen Klassert
2024-05-02 12:20 ` [PATCH ipsec-next 0/3] Add support for per cpu xfrm states Antony Antony
2024-05-02 12:38 ` Steffen Klassert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404130802.rDxN3ijD-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.