Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3338435imm; Mon, 4 Jun 2018 01:41:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKhalJVSLu1Gxez/xcPeECNfkfuSoa68zO/yR3PmLMSZv2zWVJXuewteZu6EQJR9fAGRkwc X-Received: by 2002:a63:b505:: with SMTP id y5-v6mr10868108pge.213.1528101707932; Mon, 04 Jun 2018 01:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528101707; cv=none; d=google.com; s=arc-20160816; b=ss+cw6RPdnphbCBUHAPc/xbxWkzjXSHVrzZLY3SaIB41pzVOtW7ioIBf3vDhlwYqor BU6sxg9bUzmeYO4K7vMDzfEnRouTwQLbqvA53a0IZmyj5J1AjcR3DTSAy5meVYaQo9zo SqAKIt/aANABKJrqRkPIOy84yYoj9gJmnqqoM5innM7PD0JuqKYUsxHeRZdtYHC10ZgU yxX6ARBSAJQL500hVH+5GLj3pkldiJ1O+GqbWjJIQ2qRNfNYG22ggISO7fQ5jI87yYr+ 7CszJQZNQo3vj6lsADF/WjJsNj/xcNgYOWtPa94qHMnfpv7AZu5P9JNv/rFAex08Nx3/ LphA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=4Kv6i/tEw741vzj3+t8rrUgn63aUqkWjG/PTxS359gk=; b=mdyKLZwkUOZ3P3ms5FbkPzDpW5IH+F0RANuwVgU/UK4beUJpVu4Glyie8/4iM4mXnX vJkgulTUqY95vUeXwQ01iZdpboDEENneeteHMtGVdEoVD+nxFFiP147/Utxh3w4c7JLl iojEIdRI7y88XEGnATdngiZH9EM6PkOs6ib0bbHTlK2Cs/VP9iuOTIU0j3Ev8BvHXypG DRsPvg2SjX/f5oLD1qCVZsEgbpPTpjSQhVd0PfTtEUg2GyAQ4VVyVyPoS7M+e5aU//Hy qqJ9QsWg1gedW0Hp4bHynU7sBiPOOL+Uiw2+uUmvve9roV50EvOIMXeD2JzrWBR4wsJd 3vLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=NjlG8uv3; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=oOUJY6xs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 124-v6si19324922pgg.29.2018.06.04.01.41.33; Mon, 04 Jun 2018 01:41:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=NjlG8uv3; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=oOUJY6xs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbeFDIlJ (ORCPT + 99 others); Mon, 4 Jun 2018 04:41:09 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:45268 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751806AbeFDIlH (ORCPT ); Mon, 4 Jun 2018 04:41:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1528101668; x=1559637668; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=4Kv6i/tEw741vzj3+t8rrUgn63aUqkWjG/PTxS359gk=; b=NjlG8uv3FxiGpipfwXe7Yi4TIJdhHxnLh/DN2RC1dIcsGq7nGa3RFrA3 bD6b2411PlfDiKxJhahL/vw2ZFSVn7IBceEoGZiyCYkbUjbLiuEHfuphw pXwCY0hqndRb5eaqzVeayIsSfTa2LP35Qvw6ZNZHNYQcvxghy+/q7gUX5 jBHzJhfINe+SSZQhg94ypyhnJBRqBKfZAUYGuRoPJYvO0v6vRlVKptD/U uDZQSrqm7I9H0DRuybH5Cb98Xaql1V3/umqvSXKHbrPUH2waR4FBwdeaD F0ceKRC5ZjRr+w9mFzalnC8WWkENT7iUL+q/NwR4oNOHafQxvctpskvB4 g==; X-IronPort-AV: E=Sophos;i="5.49,476,1520870400"; d="scan'208";a="81503423" Received: from mail-by2nam03lp0054.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.54]) by ob1.hgst.iphmx.com with ESMTP; 04 Jun 2018 16:40:46 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4Kv6i/tEw741vzj3+t8rrUgn63aUqkWjG/PTxS359gk=; b=oOUJY6xsK6p33AtRvx4t2DgZEJ2cPA7Dy9cX3xzy/kaUYexKw5vYcMQU6KLCXuT3NG3jYLBrH06g+UwKuH6WMP9lru00bIjn11U5Pc9TBQSAy47hMwSOkVnAH4dKzL0XVdWMYCpK+Fdy0zjvQYANm4BdU0ZDQe2XpoCQcTdz1vw= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB1217.namprd04.prod.outlook.com (10.173.53.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.15; Mon, 4 Jun 2018 08:40:44 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::9de4:3c8d:39af:e4c5]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::9de4:3c8d:39af:e4c5%7]) with mapi id 15.20.0820.015; Mon, 4 Jun 2018 08:40:44 +0000 From: Bart Van Assche To: "jejb@linux.vnet.ibm.com" , "linux-kernel@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "evgreen@chromium.org" , "vinholikatti@gmail.com" , Stanislav Nijnikov CC: "gwendal@chromium.org" Subject: Re: [PATCH 5/7] scsi: ufs: Refactor descriptor read for write Thread-Topic: [PATCH 5/7] scsi: ufs: Refactor descriptor read for write Thread-Index: AQHT93m2cj4AQ98YsUWxkpqqUz6OCKRP0HyA Date: Mon, 4 Jun 2018 08:40:44 +0000 Message-ID: <21ce321eb2d81d59d6e4578669b8287b9ac4d29f.camel@wdc.com> References: <20180529181740.195362-1-evgreen@chromium.org> <20180529181740.195362-6-evgreen@chromium.org> In-Reply-To: <20180529181740.195362-6-evgreen@chromium.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [178.117.55.239] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB1217;7:Paf9OQTTIZ0MUkdttnjrVQ6GU6n3O0XIYJ0EsOMO+1jDl0q6oT1S3N/dkio/1sH+yb7JwE55wFLJXVlrqQoFjRDG95hfVHzA/nQZxw/NTPze0qgbKWdZ/VYpgyjdRkYo+f6r5FK4nMm6640iA7sRa44TkeUFAXOWk3Cetj/OWlLZpxZ2hvKtiUHW8E2gTy9hWBNi1mVILJ2gguT0B+UCtNTZJcfelRytcqS8xEvCRuxC3EMn9F94fffl+9gXpJnk;20:fFbcZ5ulMJnqKfyOlCSY5PN2F9VX4DIEQbK0Ysye8GPqpL/M3qt/ut7o7EoteCO1o5nJQQGizP4TXjLXc2rDdmL/ev9EpWEqFQ2FnrkPcf2sX9BoacwdYxYWOi7q1cfd0aLIgZRmPVR6obW1iGzNfpyux4T0dJwcPxDmLWW8Y3E= x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB1217; x-ms-traffictypediagnostic: MWHPR04MB1217: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:MWHPR04MB1217;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB1217; x-forefront-prvs: 069373DFB6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39380400002)(39860400002)(346002)(376002)(396003)(199004)(189003)(51444003)(66066001)(99286004)(6486002)(6436002)(2900100001)(229853002)(36756003)(53936002)(5660300001)(76176011)(6246003)(6116002)(86362001)(3846002)(2201001)(3280700002)(14454004)(6506007)(2616005)(476003)(6512007)(72206003)(11346002)(446003)(478600001)(4326008)(6636002)(26005)(7736002)(305945005)(186003)(118296001)(2501003)(97736004)(5250100002)(81156014)(8676002)(102836004)(81166006)(8936002)(105586002)(68736007)(106356001)(486006)(2906002)(39060400002)(3660700001)(316002)(110136005)(25786009);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB1217;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-microsoft-antispam-message-info: z/Olvhh2Y4njUBnQOMlhhE1zPjmbg7DDyIyNral0DDu1kvfxQLf9uZ7S1OS/qRbGn7ZoBBN0s7elfVXvhJS2QitrHJqv5xwljLRM0E+AzGhvzMIwoL5ScDbveOKwTvADYMpwuuhNF0jEjRPXzozgKBTyBkQDek4HVQcApvAWrctMrraaffO/nKYU8A+EE54D spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <5DE722D568C8E3488AD4385EC7C4D432@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 65e10ab3-8750-4aa9-1ad9-08d5c9f6dca7 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65e10ab3-8750-4aa9-1ad9-08d5c9f6dca7 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2018 08:40:44.2932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB1217 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE4LTA1LTI5IGF0IDExOjE3IC0wNzAwLCBFdmFuIEdyZWVuIHdyb3RlOg0KPiAg CS8qIENoZWNrIHdoZXRoZXIgd2UgbmVlZCB0ZW1wIG1lbW9yeSAqLw0KPiAgCWlmIChwYXJhbV9v ZmZzZXQgIT0gMCB8fCBwYXJhbV9zaXplIDwgYnVmZl9sZW4pIHsNCj4gLQkJZGVzY19idWYgPSBr bWFsbG9jKGJ1ZmZfbGVuLCBHRlBfS0VSTkVMKTsNCj4gKwkJZGVzY19idWYgPSBremFsbG9jKGJ1 ZmZfbGVuL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