Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4676576rdb; Tue, 12 Dec 2023 06:30:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ4f4+d0CzqOO6Fsj3kMJkLTFPTyizKSZe4cQne2XSOygMqm1IdrjTkJRwujalu3//zrPl X-Received: by 2002:a05:6a20:3d87:b0:190:cc38:7d7c with SMTP id s7-20020a056a203d8700b00190cc387d7cmr5758072pzi.44.1702391436255; Tue, 12 Dec 2023 06:30:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702391436; cv=pass; d=google.com; s=arc-20160816; b=co6HelxIh4tEu3g/Vq/bsAD/lQD/2O6z/j2y91mFBH37FrQu4b2gb85oJ0+iSJCRHl af5spBe3OTxQzTzadPdYJBRH71WAV5hCeSzb4heT4+84fOwW95Sh2UhZt3LNXpq7/qbL c2J7w+vPN+LWZOh5z8aOJMlKA6OSw/xUGbpCdRoekUbTM3bBdCmzL5rvtRuqzPSHLlQQ jSTRQZ0UFyTx+O1kWGBw+yGpQmSRUr5IaFhsF9Cjso4CMdYu1ne6/cMkPjvS2fFuKfLe xQZ7Az/tgGjKjCMVV8Hg8lXgMhlreuBLAC+jFhTRXhecz8bh+ESTrlNvvbEMcMUeopDS h5iQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=Qs2JnlESjRWqGqBGg+SibCUjA8qE5EJrjvHRLXF7yV0=; fh=Wk7YQS9P4S47HTRqn2rndfYfQYoS9rgvZoEeYn4Mbyw=; b=niWDU4Nl17ICEXyzsLPdoVbGvDZGWjBykVKf5pWj/yVU50fdebjB6fsD7rYXMr3klE Uj52YZqbZFl7lY0wae7kFSaNMPWbqbJhK7IdBxmboqC2EynYj4xmhjnBaYTLyszK+YOs 8Y2GSrOswQoEXZp00OpkFKw6lE16aD8TS+ibmJl+6Jogw6WpgfOOJT2x5B8QCcnrBYVn PpAf//sPOu4PyWWoa5MK+ZW+okqVTQVGrSNFmMVfXrAXi7SkTolipy3yEyKt9ce0sv1u CqS9htGzjyAawgXsnZkGTrW1EfM99dlrmkxgV8Hp4fOTIdg5Wg/dBYBIQtJPJ7mCavvc XqbA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=cixtech.com dkim=pass dkdomain=cixtech.com dmarc=pass fromdomain=cixtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b13-20020a630c0d000000b005c65eb2bc62si7617574pgl.237.2023.12.12.06.30.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:30:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=cixtech.com dkim=pass dkdomain=cixtech.com dmarc=pass fromdomain=cixtech.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 211A880ABFDA; Tue, 12 Dec 2023 06:30:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376827AbjLLOaT (ORCPT + 99 others); Tue, 12 Dec 2023 09:30:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376810AbjLLOaP (ORCPT ); Tue, 12 Dec 2023 09:30:15 -0500 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2046.outbound.protection.outlook.com [40.107.255.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B54B58F for ; Tue, 12 Dec 2023 06:30:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TTgA59+G9zzocAJKHggfbQQRK/vXDh7jcmoNRS/WAxUHEwZgTPIqH9UfNdEY/Iu+0Ps8NFzTPPAVIGD0ZXSssK+ftZQB6QFqBpj/6zl4PesngZ15rHvAxoL02JFiTvF1GR1GwI00vW6erDEpVVjlwkRlu9jYJURzbZAMxQOgKu52hAhTZlU8Rs2pTLMaTutXYThQNXyT35D6RlDS7zML3PY3uyiBGrhnKaJWxuHl6Bvu4lfQ7XNneaELVSYI7+yoJUB/dXzk8bhfZLGO5ytC/A0j9pAuTWB7BYT1j4h8aIaQbZzsZCvYRwyOMrTa2Z9qxR224CL27/DbdE36yqX61A== 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=Qs2JnlESjRWqGqBGg+SibCUjA8qE5EJrjvHRLXF7yV0=; b=a+pvdYVLknswaM544qaUbnaVmR6605gV0oTgdvWBsbW5cKoSNMVmwITh3slDf4BF6Dlfa3ZUgxvfKckR1f7NFB9ZJcalECKrgqSVM4KGwac/vP2/1egLnDfwlgOVutXp+FK9XfZ+0oJhN7BMuL76/Owu5mRmvyC/8IWUcl/JZpEjl59K77swpLIYPbxro2kw6bHQX3/LFKnpksj2EsFZVAE60k8M+OgRGPXvQuoUmPcJrAuCs76cbj8m3ysuSoXbbQ9BXA8mesJOkW8XSD1d0KAwxQ5qUz48/dmsbIPMI7PWxdwvIjw4kMzC4hHYsHQx8nmA/DngN8BVxRyD4s7TXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cixtech.com; dmarc=pass action=none header.from=cixtech.com; dkim=pass header.d=cixtech.com; arc=none Received: from SEYPR06MB6278.apcprd06.prod.outlook.com (2603:1096:101:143::5) by KL1PR06MB6260.apcprd06.prod.outlook.com (2603:1096:820:d7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Tue, 12 Dec 2023 14:30:14 +0000 Received: from SEYPR06MB6278.apcprd06.prod.outlook.com ([fe80::c664:8a1e:66d6:4e62]) by SEYPR06MB6278.apcprd06.prod.outlook.com ([fe80::c664:8a1e:66d6:4e62%7]) with mapi id 15.20.7068.033; Tue, 12 Dec 2023 14:30:13 +0000 From: "Joakim Zhang" To: "hch@lst.de" , "m.szyprowski@samsung.com" , "robin.murphy@arm.com" CC: "iommu@lists.linux.dev" , "linux-kernel@vger.kernel.org" , cix-kernel-upstream Subject: =?gb2312?B?u9i4tDogW1BBVENIIFYxXSBkbWEtbWFwcGluZzogU2V0IGRtYV9tZW0gcG9p?= =?gb2312?Q?nter_as_NULL_after_it's_freed?= Thread-Topic: [PATCH V1] dma-mapping: Set dma_mem pointer as NULL after it's freed Thread-Index: AQHaLLsf9zFew5uln021tGesBo/lHrCls20w Date: Tue, 12 Dec 2023 14:30:12 +0000 Message-ID: References: <20231212052130.2051333-1-joakim.zhang@cixtech.com> In-Reply-To: <20231212052130.2051333-1-joakim.zhang@cixtech.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cixtech.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SEYPR06MB6278:EE_|KL1PR06MB6260:EE_ x-ms-office365-filtering-correlation-id: f680e4e5-a4dc-4bfc-1f92-08dbfb1ed9fe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AOPAJNvsEo8UiOMBM+CLHu2QpAqCBxWet0cKCq8apvvRUDMxkV9FmgEye1WhY4OvlHuypF9WepaF+pTwhCl84q0n6bWVgTBqT5+lTYYwX33eK+BDvFIc9fLQPTnKIZGC7wLMnd17uZ/cPTdwTPmf1ieVA5U+EAbkwNitwxoR93NYI03xSG8YVrYsy3Crj/8CBcfVjLHsolneAyKB9RGu9ahQh+MRNFs7adFhrEmfhsZyaqciJQkwoBL8MAsiluXqh478n3y8QRGmF2REODBdACk7EkuePMUxo8rHVEO41drx1htjaJfaxQ9CtxoNBxv+LtvtEsYMOmxuaQLbphMtTGZTqowxINXDbrwIQaW7gCsPLUWLZbTiEPAfzLmxAhDwmQKaTOt7YCf9uaYtKAnSyxyJ+hjxd58XdAUBkwMsKTJKlUpNbthwVQieKScGDsSiyiXhk68GLuV9a2gqZft68PqRfTb4H6gKmrWXhm7xPa3+NW/Z1tzAv7qRcXXuJ661QOVMJIaURBE2P6OoLfNw9U8rNib7hsWkkuM8HToiJYf6Svh8mP5Hq7OQnmVPMyxVz222TBe5J5dG8MGrbWoexTZyGECzfGP6w2RSMXmjlmi+J5rQgAR85yPKl3lya/HW x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEYPR06MB6278.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(136003)(396003)(39840400004)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(107886003)(26005)(7696005)(71200400001)(9686003)(52536014)(5660300002)(2906002)(6506007)(478600001)(4326008)(41300700001)(66476007)(110136005)(8936002)(66946007)(76116006)(66556008)(66446008)(316002)(64756008)(83380400001)(54906003)(122000001)(86362001)(33656002)(38100700002)(38070700009)(224303003)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?dVpSWWp6L3dLempNdWRHcG4zR3RyenVwYytKc1FOdmUzUXpNWTV6YWJ5NHBT?= =?gb2312?B?VlRSeTZQOWdyYUFoaDdBRm9idGx0bGtaSTUyQWdEUmpKOUZvd2RoNllid3hQ?= =?gb2312?B?RGxnYXlVVmNSSk1ac0UxL21SYnlBZlJxUjhsSVR6MTZnN2N3WElkK2xCdWpL?= =?gb2312?B?K0pIZytYekYxYkZDUHN6UFJncGV6Zm1PYkR1cVB6Tm1GczBFdjN1YlZHc3Zw?= =?gb2312?B?bDJnL0o3dUdUY3ZWSkpUTFlSMm5Nb25xMDArQ25Mb0FaVjlpYllscktMWiti?= =?gb2312?B?dUVkL05WdUVWQkNmNXAwUHk0bzhkTktLSW9Ua3NacWtRaDUrblJLTEZvbXRm?= =?gb2312?B?d1NrVFp5L2xSOTYvRzduOU8xMlZDWVNBN3BONHIrelNlcjdrNktpdEVpVFNE?= =?gb2312?B?b2laRGZRL2IxN0ZWckNzYjhSQXduZ2JlQllEL1hNajZQOWNBcU5HZjR4Wmgz?= =?gb2312?B?akhvWDAxd0Qwa3VQR1p1YTcyS2RYZDJTa2FpWVI2dldMYjdxS3FBLzVWQUNa?= =?gb2312?B?b0UwWEZTUkUzdjUrUVBkRytUTmZOMWR6MXFFbmVOQmREK1BaNlphdWIxTits?= =?gb2312?B?MHVqeEl4NEFpYytOdGkrWmxpVmhMbzRrd29DODh5cE9veVo1c0tQNVJXT2cr?= =?gb2312?B?VUFpbEEwR3ZRWUxQcXpXNlVFWmo2T0NpdS9ENWNwVHZzcGZyYU4weVNnMFhx?= =?gb2312?B?eFEvOWRJa1lDY2gzOUpWTDdSV1BqWWQyenEvVUtSSm9DUnVBTStrdnUxK0Vw?= =?gb2312?B?bUZxR3hHbjhNdnVMMTZ0c2s1RERibExkWlo0Z1JmWXg5K0ZlM2w2RVZ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VG5oam5ZUGZMazdvZ0xFcnBKU2JHdTJC?= =?gb2312?B?eDRBR2VJUnZJRUVKRWswQU1tZEpDc1dEVGkzbzltSTFkQjc5K29QUk8xNkla?= =?gb2312?B?T0h2ekdoc0Zvb0dvb1VQbm0xek44aWdHaVBCWVRuSXUwT1FTdG15UGJjZkox?= =?gb2312?B?MXVmK1hwUjRxMnV4Lzdwekh3ZElacU0wV2NqcElSd1QyV0dNMzQxckd2bHRh?= =?gb2312?B?cDllWXpQdU56Y1h2d0RLd2EzTUxzSmJkaE5sTE55QWV1Uko3TWw2cHpCMEdR?= =?gb2312?B?d1VMT21KS2d5eHN3TDBSUmFXVHFHYXhpOU8rTGRTaXZpL0ErSER5cW9kVFpC?= =?gb2312?B?OWdUR3NYSmtnMmtiNWdVaDhLaHE5eWZ2QytuRWpTTXdDTkxrdHBkc2Z2NXQx?= =?gb2312?Q?PKEG3EWs/rkjSe9UooqdX0tkJ?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SEYPR06MB6278.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f680e4e5-a4dc-4bfc-1f92-08dbfb1ed9fe X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2023 14:30:12.7384 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4pcP7uEZBSjG2RCCf0k1M7AWpPFSU+wGJPwRTPZP5S3N1HORx60FI9/PXjorc6yOGBFnK4ZlpBcbcf0X9AZ/VQI3kkLBVxZTAJsrESo8FZs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB6260 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 06:30:35 -0800 (PST) DQpIaSBtYWludGFpbmVycywNCg0KPiAtLS0tLdPKvP7Urbz+LS0tLS0NCj4gt6K8/sjLOiBKb2Fr aW0gWmhhbmcgPGpvYWtpbS56aGFuZ0BjaXh0ZWNoLmNvbT4NCj4gt6LLzcqxvOQ6IDIwMjPE6jEy 1MIxMsjVIDEzOjIyDQo+IMrVvP7IyzogaGNoQGxzdC5kZTsgbS5zenlwcm93c2tpQHNhbXN1bmcu Y29tOyByb2Jpbi5tdXJwaHlAYXJtLmNvbQ0KPiCzrcvNOiBpb21tdUBsaXN0cy5saW51eC5kZXY7 IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7DQo+IGNpeC1rZXJuZWwtdXBzdHJlYW0gPGNp eC1rZXJuZWwtdXBzdHJlYW1AY2l4dGVjaC5jb20+OyBKb2FraW0gWmhhbmcNCj4gPGpvYWtpbS56 aGFuZ0BjaXh0ZWNoLmNvbT4NCj4g1vfM4jogW1BBVENIIFYxXSBkbWEtbWFwcGluZzogU2V0IGRt YV9tZW0gcG9pbnRlciBhcyBOVUxMIGFmdGVyIGl0J3MgZnJlZWQNCj4gDQo+IEZyb206IEpvYWtp bSBaaGFuZyA8am9ha2ltLnpoYW5nQGNpeHRlY2guY29tPg0KPiANCj4gUmVwcm9kdWNlZCB3aXRo IGJlbG93IHNlcXVlbmNlOg0KPiBkbWFfZGVjbGFyZV9jb2hlcmVudF9tZW1vcnkoKS0+ZG1hX3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