Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2581815rbb; Wed, 28 Feb 2024 06:26:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU3A/BolSyHUMJAwTH4KM9+NSygnTmIbRexKbQT+ufcDYydy+yZbDkksVNT5YE0AwUWra+lIm6Y89QCSTJyBpsjEOKb3R3f36QHwZyzGg== X-Google-Smtp-Source: AGHT+IGqGWWZDFMG1HmMY3aIxCKkIyv6iPXXMOcv9M2eVY6jmaAyjDGOdOazpytBouTtltEAcFPu X-Received: by 2002:a62:ea17:0:b0:6e5:2cc9:c89c with SMTP id t23-20020a62ea17000000b006e52cc9c89cmr6909982pfh.1.1709130361557; Wed, 28 Feb 2024 06:26:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709130361; cv=pass; d=google.com; s=arc-20160816; b=P4mv5rysMI4NcO9LxMhgj7KnvJxkvtQyROXhT7Qk928CiXNNr98hyMZg0BTDPe/79H HPQGOvyYRd+W5TyiIs0gaqKJkG8N5wGabC7Y5okijbkSrS0hAdy+hK8bdHfeh23XAE7L pcm7qyLFhCPSOx5ftbps9BQiDIo3Ge1N1yC/QlBym2lvCsGO44bITJW05cW/Rh7jZXLG wfwczy4t1yQ99Rwfo1+H8PDgNSN2Uk1d9yE8hTLxmHPX9MAxJHqGWFshXht+V/BRFzh7 WpS4J8s6o2DwQsGcmdrnP3uCL6s1wOqqn0KtCc9X67kBtBq3EPhGAw8nCdvPIuQixCJq AkWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lHzt+IUluZRo+JmobreS7RB3BUE1Du5bKe2w1NvM27s=; fh=Hkh15MQqgkYQscLId0Jar02JX2uYVM+KAjn8qEPUBrk=; b=IVZwQkwbsKCCUgsHO/txJ1ojj3pRb9o7wE0XaxFneO3TKDd5mnbWalEyG7lZm7gKes KvErdjzhhhsczjcFOclsfEO5vBRiepoOoQWl6tDzV/yqWagHe+9XGNwKdXL9W/pgoERg T3jYPiV7IpwkUI2KnMwy8N93zaXNMLGHFPa/uMsfDc8pOUNS+SVuI/45VOSOwgdcIgeM 5hRbSQjyBlNUPJQBs5xyPFbohliKyQ/btTiIKw0c9JIpzAdoMIs1GowUZwjX2vYHyQeA ucFWpShDzUqV+i9iACEfQHLDAZTYUZWIjnGYf7H3cHJT9cKGldcJw4unvAqwc4Ikjiti nNXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=mYT74anl; arc=pass (i=1 dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.vnet.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-84874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84874-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id jc27-20020a056a006c9b00b006e572b420b1si504531pfb.83.2024.02.28.06.26.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 06:26:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=mYT74anl; arc=pass (i=1 dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.vnet.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-84874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84874-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6FB2828B0DF for ; Wed, 28 Feb 2024 11:23:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70BB812EBF0; Wed, 28 Feb 2024 11:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="mYT74anl" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9239B12C554 for ; Wed, 28 Feb 2024 11:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119402; cv=none; b=QhhiCiI1uNx+loV6MW92BhV2CfwwTKt85k3esdzE5zqweYNpLVczOKGm8l/vVzhXn7/IYun45+4B8EK3izFuWqTSL59sd2WEjy3aSZxflD1eEi+0w6EMbArFwEdEOMj0UcjcOat8+kiw2Jjxm++bjHDR/hr9a4EIn2ZKU5wgiSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709119402; c=relaxed/simple; bh=o1e/3AmN+bpqtHKhjFZYfbJ/2wgS5DEeZSuTKxMZd3I=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=Knm3FFILA1rYjwj5EuPcibwXK2Y6a3esuocob9P+DM7r7Hf7h5un5/JEPUzjD8KaJ2ILBo7YnrmhQcQ0PjzkEvX0XSfm1oTtMdm4wf0H4LL7mCI29zPOIZcKE/WOikFyYxsw1PU2rNbtZSfcvG0AmZXKoEPx5S8Q80F+yDTjkXc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.vnet.ibm.com; spf=none smtp.mailfrom=linux.vnet.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=mYT74anl; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.vnet.ibm.com Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41SBHW2a001982; Wed, 28 Feb 2024 11:23:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=lHzt+IUluZRo+JmobreS7RB3BUE1Du5bKe2w1NvM27s=; b=mYT74anljuvv/nYUCgqrYmAaIJeVB5nJDEkej2OJBWHlmNa4JxauvfWUg8d2j8NOLgFa XeCqFjqkG45aDziZyk9451ZtQnYBJ1Wum16lXCt/azZxUbN10S4uLlRQ+tp7CA0Euy3v hA+agO3rKMiCSB2qOZ19vJcalN1+/CYnJt4joG6GD7a/IBCd6N+t0wZcidzWP1VrmxrD 4LpQCleiqwt8YhQ+Wox531XYdDvall2yFquJgGG/6UlA7Vj8WgsGTiMSeFICz3K52y/T RAP0ImS+YezmXZLzkSV9Tq067IDQgRazUvrCldwWZPhcBcsBa6jyS46IX/hs9B1lZgva ZQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wj3tsg4b2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 11:23:03 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41SBJ9MM006358; Wed, 28 Feb 2024 11:23:03 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3wj3tsg4a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 11:23:02 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41S8t12k008170; Wed, 28 Feb 2024 11:23:01 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3wfv9mdsb9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Feb 2024 11:23:01 +0000 Received: from smtpav01.wdc07v.mail.ibm.com (smtpav01.wdc07v.mail.ibm.com [10.39.53.228]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41SBMxqR61669752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2024 11:23:01 GMT Received: from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 38D0E58055; Wed, 28 Feb 2024 11:22:59 +0000 (GMT) Received: from smtpav01.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 33E845804B; Wed, 28 Feb 2024 11:22:55 +0000 (GMT) Received: from [9.43.45.154] (unknown [9.43.45.154]) by smtpav01.wdc07v.mail.ibm.com (Postfix) with ESMTP; Wed, 28 Feb 2024 11:22:54 +0000 (GMT) Message-ID: Date: Wed, 28 Feb 2024 16:52:53 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [revert 0d60d8df6f49] [netdev/net] [6.8-rc5] Build Failure From: Tasmiya Nalatwad To: "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" Cc: edumazet@google.com, arkadiusz.kubalewski@intel.com, vadim.fedorenko@linux.dev, jiri@nvidia.com, kuba@kernel.org, "abdhalee@linux.vnet.ibm.com" , "mputtash@linux.vnet.com" , "sachinp@linux.vnet.com" , venkat88@linux.vnet.ibm.com References: <3fcf3a2c-1c1b-42c1-bacb-78fdcd700389@linux.vnet.ibm.com> Content-Language: en-US In-Reply-To: <3fcf3a2c-1c1b-42c1-bacb-78fdcd700389@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 07h8QLKeEPjrxJgsiKD2CgVVFDD6oJ6t X-Proofpoint-GUID: n2SX99bqPVdkaO69DKMJfdS3ledkKBwy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-28_04,2024-02-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=801 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402280090 > Greetings, > > [revert 0d60d8df6f49] [net/net-next] [6.8-rc5] Build Failure > > Reverting below commit fixes the issue > > commit 0d60d8df6f493bb46bf5db40d39dd60a1bafdd4e >     dpll: rely on rcu for netdev_dpll_pin() > > --- Traces --- > > ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: > ./include/linux/rcupdate.h:439:9: error: dereferencing pointer to > incomplete type ‘struct dpll_pin’ >   typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \ >          ^ > ./include/linux/rcupdate.h:587:2: note: in expansion of macro > ‘__rcu_dereference_check’ >   __rcu_dereference_check((p), __UNIQUE_ID(rcu), \ >   ^~~~~~~~~~~~~~~~~~~~~~~ > ./include/linux/rtnetlink.h:70:2: note: in expansion of macro > ‘rcu_dereference_check’ >   rcu_dereference_check(p, lockdep_rtnl_is_held()) >   ^~~~~~~~~~~~~~~~~~~~~ > ./include/linux/dpll.h:175:9: note: in expansion of macro > ‘rcu_dereference_rtnl’ >   return rcu_dereference_rtnl(dev->dpll_pin); >          ^~~~~~~~~~~~~~~~~~~~ > make[4]: *** [scripts/Makefile.build:243: drivers/dpll/dpll_core.o] > Error 1 > make[4]: *** Waiting for unfinished jobs.... >   AR      net/mpls/built-in.a >   AR      net/l3mdev/built-in.a > In file included from ./include/linux/rbtree.h:24, >                  from ./include/linux/mm_types.h:11, >                  from ./include/linux/mmzone.h:22, >                  from ./include/linux/gfp.h:7, >                  from ./include/linux/umh.h:4, >                  from ./include/linux/kmod.h:9, >                  from ./include/linux/module.h:17, >                  from drivers/dpll/dpll_netlink.c:9: > ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: > ./include/linux/rcupdate.h:439:9: error: dereferencing pointer to > incomplete type ‘struct dpll_pin’ >   typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \ >          ^ > ./include/linux/rcupdate.h:587:2: note: in expansion of macro > ‘__rcu_dereference_check’ >   __rcu_dereference_check((p), __UNIQUE_ID(rcu), \ >   ^~~~~~~~~~~~~~~~~~~~~~~ > ./include/linux/rtnetlink.h:70:2: note: in expansion of macro > ‘rcu_dereference_check’ >   rcu_dereference_check(p, lockdep_rtnl_is_held()) >   ^~~~~~~~~~~~~~~~~~~~~ > ./include/linux/dpll.h:175:9: note: in expansion of macro > ‘rcu_dereference_rtnl’ >   return rcu_dereference_rtnl(dev->dpll_pin); >          ^~~~~~~~~~~~~~~~~~~~ > make[4]: *** [scripts/Makefile.build:243: drivers/dpll/dpll_netlink.o] > Error 1 > make[3]: *** [scripts/Makefile.build:481: drivers/dpll] Error 2 > make[3]: *** Waiting for unfinished jobs.... > In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1, >                  from ./include/linux/compiler.h:251, >                  from ./include/linux/instrumented.h:10, >                  from ./include/linux/uaccess.h:6, >                  from net/core/dev.c:71: > net/core/dev.c: In function ‘netdev_dpll_pin_assign’: > ./include/linux/rcupdate.h:462:36: error: dereferencing pointer to > incomplete type ‘struct dpll_pin’ >  #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v) >                                     ^~~~ > ./include/asm-generic/rwonce.h:55:33: note: in definition of macro > ‘__WRITE_ONCE’ >   *(volatile typeof(x) *)&(x) = (val);    \ >                                  ^~~ > ./arch/powerpc/include/asm/barrier.h:76:2: note: in expansion of macro > ‘WRITE_ONCE’ >   WRITE_ONCE(*p, v);      \ >   ^~~~~~~~~~ > ./include/asm-generic/barrier.h:172:55: note: in expansion of macro > ‘__smp_store_release’ >  #define smp_store_release(p, v) do { kcsan_release(); > __smp_store_release(p, v); } while (0) > ^~~~~~~~~~~~~~~~~~~ > ./include/linux/rcupdate.h:503:3: note: in expansion of macro > ‘smp_store_release’ >    smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ >    ^~~~~~~~~~~~~~~~~ > ./include/linux/rcupdate.h:503:25: note: in expansion of macro > ‘RCU_INITIALIZER’ >    smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ >                          ^~~~~~~~~~~~~~~ > net/core/dev.c:9081:2: note: in expansion of macro ‘rcu_assign_pointer’ >   rcu_assign_pointer(dev->dpll_pin, dpll_pin); >   ^~~~~~~~~~~~~~~~~~ > make[4]: *** [scripts/Makefile.build:243: net/core/dev.o] Error 1 > make[4]: *** Waiting for unfinished jobs.... >   AR      drivers/net/ethernet/built-in.a >   AR      drivers/net/built-in.a >   AR      net/dcb/built-in.a >   AR      net/netlabel/built-in.a >   AR      net/strparser/built-in.a >   AR      net/handshake/built-in.a >   GEN     lib/test_fortify.log >   AR      net/8021q/built-in.a >   AR      net/nsh/built-in.a >   AR      net/unix/built-in.a >   CC      lib/string.o >   AR      net/packet/built-in.a >   AR      net/switchdev/built-in.a >   AR      lib/lib.a >   AR      net/mptcp/built-in.a >   AR      net/devlink/built-in.a > In file included from ./include/linux/rbtree.h:24, >                  from ./include/linux/mm_types.h:11, >                  from ./include/linux/mmzone.h:22, >                  from ./include/linux/gfp.h:7, >                  from ./include/linux/umh.h:4, >                  from ./include/linux/kmod.h:9, >                  from ./include/linux/module.h:17, >                  from net/core/rtnetlink.c:17: > ./include/linux/dpll.h: In function ‘netdev_dpll_pin’: > ./include/linux/rcupdate.h:439:9: error: dereferencing pointer to > incomplete type ‘struct dpll_pin’ >   typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \ >          ^ > ./include/linux/rcupdate.h:587:2: note: in expansion of macro > ‘__rcu_dereference_check’ >   __rcu_dereference_check((p), __UNIQUE_ID(rcu), \ >   ^~~~~~~~~~~~~~~~~~~~~~~ > ./include/linux/rtnetlink.h:70:2: note: in expansion of macro > ‘rcu_dereference_check’ >   rcu_dereference_check(p, lockdep_rtnl_is_held()) >   ^~~~~~~~~~~~~~~~~~~~~ > ./include/linux/dpll.h:175:9: note: in expansion of macro > ‘rcu_dereference_rtnl’ >   return rcu_dereference_rtnl(dev->dpll_pin); >          ^~~~~~~~~~~~~~~~~~~~ > In file included from net/core/rtnetlink.c:60: > ./include/linux/dpll.h:179:1: error: control reaches end of non-void > function [-Werror=return-type] >  } -- Regards, Tasmiya Nalatwad IBM Linux Technology Center