From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5537241D44; Mon, 27 Feb 2023 03:32:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5FDD40A84; Mon, 27 Feb 2023 03:32:24 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C321840A7D for ; Mon, 27 Feb 2023 03:32:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677465142; x=1709001142; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=0Dzf++CJOHrng6MzcVbtJBFaaB+EicFERyYVwblQ7VM=; b=RlPzmH5azv/ujL+LGcPj5engDPamuHpcIhWflykhjMpJiYwrW5ddYj01 gy2hePwhdFCDnpFP0QnW5SrQj1eJjfoDbemPbjj488ZqATbPHKlfyuUBX IyopHNNAU90qwAPYucB2L+9UUJlk0FOo0gLcXmiIzlQZOGmRJpTbTG7sy lFnuN6OmvTSGawzVummq4CZz9t4bELSe2VG2b7fk9qdYOnu8M2FqEVqF2 JVRq3JopFq+g1zPYLvaT8r6KIVdBiD9GYXNe7qgT2RXfC8bQ1bvHDHgbT WlLTQNx36BtAkcjZmC+kE8PK7mcL9YmB6VjaSuEubCOPJMdvG6IUPmE0f g==; X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="398538122" X-IronPort-AV: E=Sophos;i="5.97,330,1669104000"; d="scan'208";a="398538122" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2023 18:32:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="1002531658" X-IronPort-AV: E=Sophos;i="5.97,330,1669104000"; d="scan'208";a="1002531658" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 26 Feb 2023 18:32:21 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 26 Feb 2023 18:32:20 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 26 Feb 2023 18:32:20 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 26 Feb 2023 18:32:20 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sun, 26 Feb 2023 18:32:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LjRjmOdOEEa6NlZGxp9G9n/Y3s2YMZfZo6/sKcZ69rEgFmspEPlwTWkMQpHS1tsVSUQvsd2nJ87dIzpb8VuVmc0yM52j2/dVTGy+HuAFc8SDbUR8iEsu66gudXJK+hgJgAjSTSOC0F17lMYgDnIl//vgyjQaezqD0/mkkwodIxp2YbaFyhc2+i5f85NRK/uaBZXWifhc8WbK99fat5wfuu8ZhH4vqtlv/t5xfi8TF3I/hvPM0pvA6K+qaefVeFmFMOuTRLW4oi/8y+eRLa+zGb8YFVSOu7suaXfJ6mhnORHAJwAl1gH/+7LIeKAM1DhzOTLdVMzBrijIhf1FeyXy6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ch8IY8IFcgpHiyX6oQhJuTW7yJ25h3tqxx5cW7HOvmw=; b=NQ4112Nh+tNACRXoGa79ykCSH9Q6mTKoYcZbWCP/9dvIjxRwuUl/EXcXBGBBv9ubmWskBR4x4TwTRP4P6XBQWTHux91dhFF3w1NkjV8W7uquh3N9ZZdUUBO6icVc5FYnxC+Qr/wpSiZURzPuFvKddirOBURLUiMRyJgIYrPw/pDNrK6nMu2Vy6hTeZ8edxYsprEAA5dVE+J79egKWHa9OdJ4i7TRcahF52Q03O30ot+Nwcnc0tNjiiqpuTysKxnkiVzqwyMsN+lbt1CtSz6pgWYpWQZIcFrUoevPfOn27sd1VBHg4ZIiOuTxlxiP+Chi8EsS++geoUf+LwnI5zxASw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by DM6PR11MB4514.namprd11.prod.outlook.com (2603:10b6:5:2a3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.27; Mon, 27 Feb 2023 02:32:13 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::930b:6671:e4f0:4ebc]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::930b:6671:e4f0:4ebc%3]) with mapi id 15.20.6134.026; Mon, 27 Feb 2023 02:32:13 +0000 From: "Xia, Chenbo" To: David Marchand , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Burakov, Anatoly" , Hemant Agrawal , "Sachin Saxena" , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Matan Azrad , Viacheslav Ovsiienko , "Pavan Nikhilesh" , Shijith Thotton , Rasesh Mody , Shahed Shaikh , Ajit Khaparde , "Somnath Kotur" , "Daley, John" , Hyong Youb Kim , Dongdong Liu , Yisen Zhuang , Konstantin Ananyev , "Medvedkin, Vladimir" , "Carrillo, Erik G" , Maxime Coquelin Subject: RE: [PATCH v2 20/20] enable lock check Thread-Topic: [PATCH v2 20/20] enable lock check Thread-Index: AQHZSGJ9wr9PBvrid0OdYhpMIpGJgq7iFnKQ Date: Mon, 27 Feb 2023 02:32:13 +0000 Message-ID: References: <20230224081642.2566619-1-david.marchand@redhat.com> <20230224151143.3274897-1-david.marchand@redhat.com> <20230224151143.3274897-21-david.marchand@redhat.com> In-Reply-To: <20230224151143.3274897-21-david.marchand@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3504:EE_|DM6PR11MB4514:EE_ x-ms-office365-filtering-correlation-id: beaa1e03-8d46-499f-d063-08db186ad5c7 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ifE9hQHHAHA/waBypQ40BUS96D8Si+3nGK3ZzK0Il4Qmelcpu0W0ENemgTm3O0qOOcFcYGGFZSg0FsIPAPcXR5gtfgpwZdlFfjAYHLMVM1TG83HP2MU9dBcQo+T/QAxaDJEhS8ACfJ0oMpWqzbATLe6h5uCyDsP0aeu6y3Br8CU0so7a5D/t7fjwfmVC25NYTzDF1oGth+uiBm63QZMe/b1bzNBnserkrxY086u8x6RsOGnkQv5SUgNMpVPY2iMJA7XZxi6E5Mm2TF5HY8Ff1azuW/VVcCIChGDkdMkH8p6ORY73KbAxQzZ1gRPSWpaiAY6f9noOuzRby7F2uEuoU9u6aS9TjR0HX2syZKGqnRlINUzvgKD5qzs3sTD+HnoW+z3YU07T3aDyZ9jHEt16eimeAgy+hoWqfGYNhcP7wrAkzD1a/PwEv/QYjKHNoBCE11bz+RcpR/T7rvPaQDGs62g9x0mOPhfeVWFoWl/0yE9zYogj4d0q/0+xVTYCbROy2kLxzM4NELkF3roqUqk2jZ9iy4XpCtnqqAFwu1TH+WILB5QXNxMCqF8g/k4bMc1NWSHSN6uzIJquNLkuc2RRzPGhx8X4pvUXsSbOWWaMQBE2Fyxy1Al8rco+6pKmE0cTj+++HoskjTSrulKoz4bfAOxbFHQhqL6W/IBBYaV0GUzMsRRGnkL/CUmp8hyDtZ9RzMIFJcAfINMVObQqcV0HRg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(396003)(366004)(376002)(346002)(39860400002)(451199018)(52536014)(54906003)(110136005)(122000001)(8936002)(316002)(82960400001)(38070700005)(9686003)(8676002)(186003)(26005)(478600001)(53546011)(33656002)(86362001)(7696005)(71200400001)(6506007)(2906002)(55016003)(38100700002)(7416002)(5660300002)(76116006)(4326008)(66556008)(66946007)(66446008)(66476007)(64756008)(83380400001)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Rn4kIxFDi3L/0pvm++Gu1qQRz61kvlemDUr/AvZOEQ/SNLvOk/X4LUogOkZ9?= =?us-ascii?Q?ts8nI03ciSmLt6ZU1NjchKGen9ZUJCRla2pwvEO2WytZ+MUMaNQQw6Siz09B?= =?us-ascii?Q?LAx8ivM2A31FWmQFOOgX+LwIQx+SQkcs/hXhpiRNvZaHX6iuRqFLBZSdTx9p?= =?us-ascii?Q?aGsFTM047qijr+9UUa3xS5bQaFR5a65ZeZdUe1xpCibu1ZSHIH3XME3s2YSP?= =?us-ascii?Q?zgR/ydL+CqzSzDyK5dI9sc1sm1OJanrG7X1Bbviy7SwrupRcSnvQLaN/cfld?= =?us-ascii?Q?RWBXFNb/ReUCRvVl0n75U+VJEwbM5NKx9SlTHvzxeISyhi1cyNe7UFnTugnn?= =?us-ascii?Q?Z5OeY9A0vjIgW0KBKvdya/N1NzlC2895N/CuBjVi199XPmADABbwsBEZBAaB?= =?us-ascii?Q?6BxeTTSt66aAsGpt+/hM1lqzTGRauf21xRoeey94uLu8tBYv4ydLfiYMbnXB?= =?us-ascii?Q?wK9T++b4Oy5cvBHX+PIc2aRQ4Ff0pL/UjRZTHC8kyGA4MWdUBi21ryXhL2l7?= =?us-ascii?Q?76MGl6tKz9GdjyUcLBR1inqhJC9+PhKo4MzRNUEol7ZlOg+xYBVA6dSryU5q?= =?us-ascii?Q?b9xg9oJVy+18OYo0PM8eEgZN1wOKruOw4QohcLup8V8GuBhG3dwSgGBZDLBk?= =?us-ascii?Q?SO6YXE8FUniTcIwsRM4h1hM9JUt06xU+mKalpzR8OJsIg1FFugrzsTQjDgOs?= =?us-ascii?Q?7uo7yAz6Wf6ltKxwV86nekkJAkWNYGM3xDluHLQ48zKDiBN+LpVt5HxOWw0h?= =?us-ascii?Q?4DC/6bRutoWfs0QLFUQI8RwNK3ewRi1wYniIQVY+t0GC+ECWASs501ujET2f?= =?us-ascii?Q?5X7ei72BBzbm1VvtRIzOYRVj5myE20XHZ4SCzDCNB7LTHgi0l8j4l+e9UER+?= =?us-ascii?Q?AY8LCyy6TxAwYxSaQIuIxpDvFKJd/CL373nsW/69z+fEykZiwqw0dSuet9oU?= =?us-ascii?Q?lRMSj+XITYbjaZs5nIaaZ9I4lIj1JIenpGfUW6zdF7b0SN5vVP9PLANUUPni?= =?us-ascii?Q?QSTMnK97vMGcXh9Q+45EXDKo6mn8l3gbyc7omQhq7wiHYuDzovzbNgFs8ngy?= =?us-ascii?Q?Hr5153b9bWyeGPVYwDugidaGke5w4vjA8xwc5d843Dt+mGevZkZy3n2XwJRc?= =?us-ascii?Q?zRN3KOMVemGf+Rd3hxo1SMkCfmHgC1hCTYvDx0MSN3IZcpltyKzEBCWIQc3g?= =?us-ascii?Q?u0QagRJMGWfTKpdJ/uJlCaY3HkRJK5NkicP/hRRa7U/WoH3m8SXtGBdXeOZB?= =?us-ascii?Q?gjB+NqCN0N5ZAxS8axRq/Nl1xn1AP/v1A1Ljv5cqQjt2sKfVRgN9eyx207Cp?= =?us-ascii?Q?55kqRaI7pqH0BKURqiw+p4kPtykv93tsuH0H7lOxebWz0sjS0rOQzjsH0F4h?= =?us-ascii?Q?nPUSARbYNurXL7xPW34Gz7imF/SAhXnz00z+lsp1pNlm4YYRbt+djOnqx+H2?= =?us-ascii?Q?U4oOzVy7jiH71XnAb0s+vz11n3EqQupk3srv7HVCXxE166IatEjC/KkSAFgm?= =?us-ascii?Q?AWxmN6nuxL3Gfuxy307rrYIIOWXPj2p1s/41AwTV/WrSXGvu1g4rZ/mYQVlO?= =?us-ascii?Q?NKDsygPFJQ+erWVYcNc0icwx3qKyVeh6E+6bOm2y?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: beaa1e03-8d46-499f-d063-08db186ad5c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2023 02:32:13.4830 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yRWXpR9DfDK36hsJqTsk11tmtHEEVCYNJH8evv7l4bufGHtga/dsMY8u7b7pt3maCj8/Nm6N9wBUvl1PQ3G6zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4514 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: David Marchand > Sent: Friday, February 24, 2023 11:12 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Burakov, Anatoly ; > Hemant Agrawal ; Sachin Saxena > ; Nithin Dabilpuram ; > Kiran Kumar K ; Sunil Kumar Kori > ; Satha Rao ; Matan Azrad > ; Viacheslav Ovsiienko ; Pavan > Nikhilesh ; Shijith Thotton > ; Rasesh Mody ; Shahed Shaikh > ; Ajit Khaparde ; > Somnath Kotur ; Daley, John > ; Hyong Youb Kim ; Dongdong Liu > ; Yisen Zhuang ; > Konstantin Ananyev ; Medvedkin, Vladimir > ; Carrillo, Erik G > ; Maxime Coquelin = ; > Xia, Chenbo > Subject: [PATCH v2 20/20] enable lock check >=20 > Now that a lot of components can be compiled with the lock checks, > invert the logic and opt out for components not ready yet: > - drivers/bus/dpaa, > - drivers/common/cnxk, > - drivers/common/mlx5, > - drivers/event/cnxk, > - drivers/net/bnx2x, > - drivers/net/bnxt, > - drivers/net/cnxk, > - drivers/net/enic, > - drivers/net/hns3, > - drivers/net/mlx5, > - lib/ipsec, > - lib/timer, >=20 > Signed-off-by: David Marchand > --- > doc/guides/prog_guide/env_abstraction_layer.rst | 5 +++-- > drivers/bus/dpaa/meson.build | 1 + > drivers/common/cnxk/meson.build | 1 + > drivers/common/mlx5/meson.build | 1 + > drivers/event/cnxk/meson.build | 1 + > drivers/meson.build | 2 +- > drivers/net/bnx2x/meson.build | 1 + > drivers/net/bnxt/meson.build | 1 + > drivers/net/cnxk/meson.build | 1 + > drivers/net/enic/meson.build | 1 + > drivers/net/hns3/meson.build | 1 + > drivers/net/mlx5/meson.build | 1 + > lib/ipsec/meson.build | 1 + > lib/meson.build | 2 +- > lib/timer/meson.build | 1 + > lib/vhost/meson.build | 1 - > 16 files changed, 17 insertions(+), 5 deletions(-) >=20 > diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst > b/doc/guides/prog_guide/env_abstraction_layer.rst > index 3f33621e05..93c8a031be 100644 > --- a/doc/guides/prog_guide/env_abstraction_layer.rst > +++ b/doc/guides/prog_guide/env_abstraction_layer.rst > @@ -550,8 +550,9 @@ Some general comments: > waiving checks with ``__rte_no_thread_safety_analysis`` in your code, > please > discuss it on the mailing list, >=20 > -A DPDK library/driver can enable/disable the checks by setting > -``annotate_locks`` accordingly in its ``meson.build`` file. > +The checks are enabled by default for libraries and drivers. > +They can be disabled by setting ``annotate_locks`` to ``false`` in > +the concerned library/driver ``meson.build``. >=20 > IOVA Mode Detection > ~~~~~~~~~~~~~~~~~~~ > diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build > index 5506f2bffc..183b251459 100644 > --- a/drivers/bus/dpaa/meson.build > +++ b/drivers/bus/dpaa/meson.build > @@ -29,3 +29,4 @@ if cc.has_argument('-Wno-pointer-arith') > endif >=20 > includes +=3D include_directories('include', 'base/qbman') > +annotate_locks =3D false > diff --git a/drivers/common/cnxk/meson.build > b/drivers/common/cnxk/meson.build > index 849735921c..9beb1cddba 100644 > --- a/drivers/common/cnxk/meson.build > +++ b/drivers/common/cnxk/meson.build > @@ -88,3 +88,4 @@ sources +=3D files('cnxk_telemetry_bphy.c', >=20 > deps +=3D ['bus_pci', 'net', 'telemetry'] > pmd_supports_disable_iova_as_pa =3D true > +annotate_locks =3D false > diff --git a/drivers/common/mlx5/meson.build > b/drivers/common/mlx5/meson.build > index 60ccd95cbc..d38255dc82 100644 > --- a/drivers/common/mlx5/meson.build > +++ b/drivers/common/mlx5/meson.build > @@ -40,3 +40,4 @@ endif > mlx5_config =3D configuration_data() > subdir(exec_env) > configure_file(output: 'mlx5_autoconf.h', configuration: mlx5_config) > +annotate_locks =3D false > diff --git a/drivers/event/cnxk/meson.build > b/drivers/event/cnxk/meson.build > index aa42ab3a90..20c6a0484a 100644 > --- a/drivers/event/cnxk/meson.build > +++ b/drivers/event/cnxk/meson.build > @@ -480,3 +480,4 @@ endforeach >=20 > deps +=3D ['bus_pci', 'common_cnxk', 'net_cnxk', 'crypto_cnxk'] > pmd_supports_disable_iova_as_pa =3D true > +annotate_locks =3D false > diff --git a/drivers/meson.build b/drivers/meson.build > index 0618c31a69..d529980fc5 100644 > --- a/drivers/meson.build > +++ b/drivers/meson.build > @@ -91,7 +91,7 @@ foreach subpath:subdirs > build =3D true # set to false to disable, e.g. missing deps > reason =3D '' # set if build =3D=3D false to exp= lain > name =3D drv > - annotate_locks =3D false > + annotate_locks =3D true > sources =3D [] > headers =3D [] > driver_sdk_headers =3D [] # public headers included by drivers > diff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.buil= d > index 156f97d31f..dbf9c7225d 100644 > --- a/drivers/net/bnx2x/meson.build > +++ b/drivers/net/bnx2x/meson.build > @@ -21,3 +21,4 @@ sources =3D files( > 'ecore_sp.c', > 'elink.c', > ) > +annotate_locks =3D false > diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build > index 09d494e90f..f43dbfc445 100644 > --- a/drivers/net/bnxt/meson.build > +++ b/drivers/net/bnxt/meson.build > @@ -68,3 +68,4 @@ if arch_subdir =3D=3D 'x86' > elif arch_subdir =3D=3D 'arm' and dpdk_conf.get('RTE_ARCH_64') > sources +=3D files('bnxt_rxtx_vec_neon.c') > endif > +annotate_locks =3D false > diff --git a/drivers/net/cnxk/meson.build b/drivers/net/cnxk/meson.build > index c7ca24d437..86ed2d13dd 100644 > --- a/drivers/net/cnxk/meson.build > +++ b/drivers/net/cnxk/meson.build > @@ -196,3 +196,4 @@ endforeach >=20 > headers =3D files('rte_pmd_cnxk.h') > pmd_supports_disable_iova_as_pa =3D true > +annotate_locks =3D false > diff --git a/drivers/net/enic/meson.build b/drivers/net/enic/meson.build > index 7131a25f09..1523511ba5 100644 > --- a/drivers/net/enic/meson.build > +++ b/drivers/net/enic/meson.build > @@ -39,3 +39,4 @@ elif cc.has_argument('-mavx2') and > dpdk_conf.get('RTE_ARCH_64') > c_args: [cflags, '-mavx2']) > objs +=3D enic_avx2_lib.extract_objects('enic_rxtx_vec_avx2.c') > endif > +annotate_locks =3D false > diff --git a/drivers/net/hns3/meson.build b/drivers/net/hns3/meson.build > index e1a5afa2ec..43e52e6107 100644 > --- a/drivers/net/hns3/meson.build > +++ b/drivers/net/hns3/meson.build > @@ -38,6 +38,7 @@ sources =3D files( > 'hns3_common.c', > 'hns3_dump.c', > ) > +annotate_locks =3D false >=20 > deps +=3D ['hash'] >=20 > diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build > index abd507bd88..5e7d0d4e1a 100644 > --- a/drivers/net/mlx5/meson.build > +++ b/drivers/net/mlx5/meson.build > @@ -79,3 +79,4 @@ testpmd_sources +=3D files('mlx5_testpmd.c') > subdir(exec_env) >=20 > subdir('hws') > +annotate_locks =3D false > diff --git a/lib/ipsec/meson.build b/lib/ipsec/meson.build > index 0b8b935cd2..ff44d6fbdf 100644 > --- a/lib/ipsec/meson.build > +++ b/lib/ipsec/meson.build > @@ -13,5 +13,6 @@ sources =3D files('esp_inb.c', 'esp_outb.c', >=20 > headers =3D files('rte_ipsec.h', 'rte_ipsec_sa.h', 'rte_ipsec_sad.h') > indirect_headers +=3D files('rte_ipsec_group.h') > +annotate_locks =3D false >=20 > deps +=3D ['mbuf', 'net', 'cryptodev', 'security', 'hash', 'telemetry'] > diff --git a/lib/meson.build b/lib/meson.build > index 2bc0932ad5..9b5e412454 100644 > --- a/lib/meson.build > +++ b/lib/meson.build > @@ -120,7 +120,7 @@ foreach l:libraries > reason =3D '' # set if build =3D=3D false to explain= why > name =3D l > use_function_versioning =3D false > - annotate_locks =3D false > + annotate_locks =3D true > sources =3D [] > headers =3D [] > indirect_headers =3D [] # public headers not directly included by ap= ps > diff --git a/lib/timer/meson.build b/lib/timer/meson.build > index 89b17e0397..87bbb10592 100644 > --- a/lib/timer/meson.build > +++ b/lib/timer/meson.build > @@ -3,3 +3,4 @@ >=20 > sources =3D files('rte_timer.c') > headers =3D files('rte_timer.h') > +annotate_locks =3D false > diff --git a/lib/vhost/meson.build b/lib/vhost/meson.build > index 197a51d936..0d1abf6283 100644 > --- a/lib/vhost/meson.build > +++ b/lib/vhost/meson.build > @@ -18,7 +18,6 @@ endif > dpdk_conf.set('RTE_LIBRTE_VHOST_POSTCOPY', > cc.has_header('linux/userfaultfd.h')) > cflags +=3D '-fno-strict-aliasing' >=20 > -annotate_locks =3D true > sources =3D files( > 'fd_man.c', > 'iotlb.c', > -- > 2.39.2 For lib/vhost: Reviewed-by: Chenbo Xia =20