Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6D06C43217 for ; Mon, 13 Dec 2021 21:51:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243162AbhLMVvj (ORCPT ); Mon, 13 Dec 2021 16:51:39 -0500 Received: from mail-mw2nam08on2044.outbound.protection.outlook.com ([40.107.101.44]:30143 "EHLO NAM04-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232880AbhLMVvh (ORCPT ); Mon, 13 Dec 2021 16:51:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gKglpUtcgZryM3e6Gnqqo7geEpD+djC5MuYH87lbgyn+hl/YCA+eVeC21+pXb3P6e/2mDGLVw7Kd3qisquahu9gm0RKw3bKVdQJEWf1UcJVyIlkfwFNsS4MLXuXpaF/mWEeoZ3fPMJDaKorpT8AGuFuLyahW+RlGSRPzD/Y64+/Oo1OeBdFou9bfpWb2kfvZfWRwM7bcDQR8AAaig0LTEBgPA9kAti3/uCVaRjEhxyHnekD4EPjXNjHS63jSXYcuxtIcKYittZE3p0qL8iiEVjLTl4bWAZG44SLWlORCCzIfM8jPqNuYyKXc/6qU8alojanTv9UpmDa02oFq4EZ+DA== 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=6a2aB62WxtTOcuuMDz/C4I5tampE+477S+/Ju5h2HpE=; b=nzSsrm2TMIqTbY7BNRAnpH6a5/RHZVxw2x2ahZ0ve4DwvaeHTHRDS9DvcsxjeIAZ8KKvur6UfoYqGjdXlBAl3kCNMbLwLDbXLU4rFEw5AdBZgzEykcBWHL1pMGGU8n5LWMPooPVSJ4zn6paWMCuqEVWCdJFHZgvRQKSILNLe88U2AdtJopSMQKMHnh+hqacbcdtDDRG31HlXTwHjOgASdwsmOOV7jRRCpzep+BuQChtTtkTpoQtCI2MRjBVXxf1CEAWea3otiEHo3aj7kS0+zt63bIR7WYVGBsEFt5Xx9UrhfwvPiyXoKoo3mfRfkDiNl6gbJWVTG+BmaAnt+eOzzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6a2aB62WxtTOcuuMDz/C4I5tampE+477S+/Ju5h2HpE=; b=Mk+/cKSCy/xBgbJPzXODHzkYDLTmSw1eNjFZVxHMUPdp2cmqJrLG+W4dkxrrlZ22ZNsScRI+oAfRJ5Vqqj0MukJzRpK4AW9RdICjUIFPmkCCVdJrhsjvs+oV+cSgA8wftXm53An4a7cCRTUOae5Z98xeSIL33aAvbt86BoOD41EfjixVdXDJmmFZHvzoJhgOoKk0dwV8aI6ao3lDFPlWwCwv4VSLRC8Aa6UeMTvwu1lX0NmACyKq8Uq6uP6KFB35NCVY4PoKxM0EXm6P2nXHd02kLWMtX7qd+Yqjw7FofuMzAB7cbQOvp0L9DX5ZUO/kCeIvT1JjZcpMXIZIl8k5RQ== Received: from MWHPR12MB1264.namprd12.prod.outlook.com (2603:10b6:300:d::16) by MWHPR12MB1920.namprd12.prod.outlook.com (2603:10b6:300:10e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Mon, 13 Dec 2021 21:51:36 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by MWHPR12MB1264.namprd12.prod.outlook.com (2603:10b6:300:d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.15; Mon, 13 Dec 2021 21:51:36 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::6df1:639d:74ea:d39e]) by MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::6df1:639d:74ea:d39e%7]) with mapi id 15.20.4778.017; Mon, 13 Dec 2021 21:51:36 +0000 From: Chaitanya Kulkarni To: Logan Gunthorpe , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-block@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-mm@kvack.org" , "iommu@lists.linux-foundation.org" CC: Stephen Bates , Christoph Hellwig , Dan Williams , Jason Gunthorpe , =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Jakowski Andrzej , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy , Martin Oliveira , Chaitanya Kulkarni , Jason Gunthorpe Subject: Re: [PATCH v4 01/23] lib/scatterlist: cleanup macros into static inline functions Thread-Topic: [PATCH v4 01/23] lib/scatterlist: cleanup macros into static inline functions Thread-Index: AQHX3AeSfN3bingHxU6tBzBEGrCeE6wxHyKA Date: Mon, 13 Dec 2021 21:51:35 +0000 Message-ID: <9076b4cc-884a-ad15-90ad-b43ca55e20c5@nvidia.com> References: <20211117215410.3695-1-logang@deltatee.com> <20211117215410.3695-2-logang@deltatee.com> In-Reply-To: <20211117215410.3695-2-logang@deltatee.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 577f10b5-bf37-4890-3763-08d9be82bc20 x-ms-traffictypediagnostic: MWHPR12MB1264:EE_|MWHPR12MB1920:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eYpRD2mXaH3uOZgK4i0voPg4oukIMeemuVAu2yKywuia+PGDRH9zjnLY/LPQS2Vu56Et09we5MUB3zGyMl++TNlGcbDREf6dqnQI0NQN9C+MS8yfxQDZTJ1d5CNglz9Ju2PZFFR3dFFJ+p7RA5zzdTqyF6pG8dxkhUQ2YvBSC5fi/A2GEPnugAaCGDc95uj+xdcjBnaiYsi5moxT5la3DxUhqY+MyF5EZvqJAnKE3FMebQx5oaoUmFiqzKI3rNE5aFMyptN5IwKyvh2UayjizHAISA/5GLXU8m3ty2ll7WlujcKQssx+jmVw80lmB6BpM0p0Kp/UEeg8KPy2lbVGoO52V4/tguWOAT3C/Yz8CVszTNtUWDIqvdud3FtUwWMGCikEo0ZFV74+yzFSysJnxjtBL7BibJmmcsCLX40AY0VlQgY4tL2LUjr+g7rAixu17WGQZw6Q+j+249ykjciu8ro7M0TmRYCGvfAjlYzg8S5pRB6bKausPGp2Gb/3GYFLFOGmut/XdODtngoKUlGR9clUrqoxnUCVNm18+nCNCQbSexgWze2D6vVhvMq+2uFN8wsxAPsin+7bciR2xf+P0QkV+wF3u2Mui3hB1vjVhLJQGuBb180nYHSpIYCVmSrTHIJK7JO3RFDs5l3lUf5wUafsHLUmJuwiSrC5/c/EXuxKP0su3kCH6LiHwin/uDg9PmRO6jhLVE4yXUQ+1FeGa+ld5AaIUjDPgdoVk5xaHnwnQx6QL/SAof9N4KOCoRedwZV5QwqSMg4xhHE0hjSBgg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR12MB1264.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(6512007)(2906002)(186003)(316002)(7416002)(31696002)(31686004)(4326008)(4744005)(71200400001)(86362001)(53546011)(508600001)(8936002)(122000001)(110136005)(8676002)(38070700005)(66556008)(66446008)(76116006)(66476007)(64756008)(6486002)(38100700002)(107886003)(5660300002)(2616005)(54906003)(36756003)(91956017)(6506007)(66946007)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UjZGa24zeE1TaTd6ZWt1Tml6RGZTMGFIQkw5Vy9lTGMzVmU2MGUvTWovbzZm?= =?utf-8?B?Zmd0ZFo4bFE2U0tybGp3R0xTMGd4dHNHTlJqbkFmMEFSbDMyRUdpeHhJNTl3?= =?utf-8?B?azJ2dmlOUDJCekY1Unc0NjdWZGxyZGpIMm00d0krdjZRSzlxTmlnV203ampv?= =?utf-8?B?Y0VMRTJVYkFjaWNYY2lOaTVZT2NuNW1wRXk0bUVZQmFXVEFjTFQxc2RwWEdl?= =?utf-8?B?Wnlsa2lydkZhMzhZSis0SkoyZ2tONmhrd3ZiWGNNT0VJaHIvelBleXF1a0NF?= =?utf-8?B?Uk5zTXQzckp3alpZaS85ZVFmaVoxVjF3cFcrcjZXUDk1Q0RaK21xNGJQN2Nj?= =?utf-8?B?ZXQydXJnR1lMV2pZYW9PS0c3SUt5L1dtR2FPOW9oMHJiWnAxUm9QVCtPalgz?= =?utf-8?B?RnlIeG05blpwcEdtYXkyd2g1WFo3My9UR3ZFWlpqQWhvRndZY1JkL2ViOTA4?= =?utf-8?B?dVRDWjVjKzB6MDRhQ254cXBjVmJyTW1JWk0zT3Q2UGNQN3N2OXlLOHB1RTFt?= =?utf-8?B?UFdjL2tOL2luUm9LbGp1SnNNL2k1NXRENml3RjREbTAxR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UdUMk5VcUViZ3Z2cXlFZUdFcGtpSFhKd3BzZHpT?= =?utf-8?B?QW5WRkZxOFJZVWg5eWxETzZJeXlKQVdIRGltOUFNYVRzVkZJQXkxcENQTzMr?= =?utf-8?B?SEFnTXQ5VEtNZkVGalg2WTVJTFVnYis3VWJ6dFBSUDVGQjFNOGpVVWlqTmNQ?= =?utf-8?B?L2ppUTEzZkNLOFZzK2tzam8zTm4xeUlkTmQvN1kxdFRFOElQMHVEWlhobGNF?= =?utf-8?B?ejYrUFJKYlZ4N3E4WlZJckI4OWJqOC95MDQxNlJOZDNjWlJGVkxBcXpPTjJm?= =?utf-8?B?WGhuZXc2WUE4azFrUHFRREhLYXBYYkd1eE5ZejluTGZUOFNpcnN4Y1NlWk9q?= =?utf-8?B?R01sM29LME5KbEZXMm9IWUhCcDcrNm5KT2pmcURZOGdLcktuR2ZoWHFWZnJQ?= =?utf-8?B?Z2ljaGU0U2ZxMG9ocEZhN09RakNidWdXQThacWlqeEgwSVFQcUcyYzV6VlNZ?= =?utf-8?B?TnZ6NWU1R2JlMTBkOFFDTlc5V3Eyd2d2aVVLMlFLOEFVQzN6Wm43QjBiWW5a?= =?utf-8?B?WEZZWmw4NzE4cXFKWG1uTUszQ054S1dxLzZ6TmlpNzY0aXozcGE4cHl0RVUv?= =?utf-8?B?TUo3d1pESWtSUEczUy8zano5TlNPeDh1Tit0cWZRT2h2VXZQbktEelg0M3pX?= =?utf-8?B?ZzlSSXA4cTk3ME5BUjN2bTVRRXRYVEVQOW5FZFkwdGk2ZU1EeTBodnV0Yldm?= =?utf-8?Q?0W9CB0cmlXu4vPdBCV/VhJfFJ/svu83qw1fnoYQyQq7N?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4667.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 577f10b5-bf37-4890-3763-08d9be82bc20 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2021 21:51:35.8281 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ylW3AIkRoU+4uufBP0GFdIc+ZU9cWVKvmCBk069xXOU13wcV+qjX59+qW+5KHQD7puvs+v/Qb3p/WKEbSavMhg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1920 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTEvMTcvMjEgMTo1MyBQTSwgTG9nYW4gR3VudGhvcnBlIHdyb3RlOg0KPiBDb252ZXJ0IHRo ZSBzZ19pc19jaGFpbigpLCBzZ19pc19sYXN0KCkgYW5kIHNnX2NoYWluX3B0cigpIG1hY3Jvcw0K PiBpbnRvIHN0YXRpYyBpbmxpbmUgZnVuY3Rpb25zLiBUaGVyZSdzIG5vIHJlYXNvbiBmb3IgdGhl c2UgdG8gYmUgbWFjcm9zDQo+IGFuZCBzdGF0aWMgaW5saW5lIGFyZSBnZW5lcmFsbHkgcHJlZmVy cmVkIHRoZXNlIGRheXMuDQo+IA0KPiBBbHNvIGludHJvZHVjZSB0aGUgU0dfUEFHRV9MSU5LX01B U0sgZGVmaW5lIHNvIHRoZSBQMlBETUEgd29yaywgd2hpY2ggaXMNCj4gYWRkaW5nIGFub3RoZXIg Yml0IHRvIHRoaXMgbWFzaywgY2FuIGRvIHNvIG1vcmUgZWFzaWx5Lg0KPiANCj4gU3VnZ2VzdGVk LWJ5OiBKYXNvbiBHdW50aG9ycGUgPGpnZ0BudmlkaWEuY29tPg0KPiBTaWduZWQtb2ZmLWJ5OiBM b2dhbiBHdW50aG9ycGUgPGxvZ2FuZ0BkZWx0YXRlZS5jb20+DQo+IC0tLQ0KDQpMb29rcyBnb29k Lg0KDQpSZXZpZXdlZC1ieTogQ2hhaXRhbnlhIEt1bGthcm5pIDxrY2hAbnZpZGlhLmNvbT4NCg0K DQoNCg==