From patchwork Thu Nov 24 00:31:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: subhashj@codeaurora.org X-Patchwork-Id: 9444573 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 092B26075F for ; Thu, 24 Nov 2016 00:34:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 072B0276AE for ; Thu, 24 Nov 2016 00:34:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEB5E27EE9; Thu, 24 Nov 2016 00:34:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8562276AE for ; Thu, 24 Nov 2016 00:34:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934958AbcKXAbo (ORCPT ); Wed, 23 Nov 2016 19:31:44 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:50984 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934898AbcKXAbn (ORCPT ); Wed, 23 Nov 2016 19:31:43 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 24E9561563; Thu, 24 Nov 2016 00:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1479947496; bh=Yyph9CiAW0nEAturjnBwZwj0THRbm9N5N49Ftoypmck=; h=From:To:Cc:Subject:Date:From; b=AB1ERVk5i+Kq/QH3lBUgMTucWGxp7gNtisd1njj+ax1jZTX81oXgISDmrgCBPV6c/ BhjWG9XmH5Kh5XDtoyMhbDekyxnrdQMUgnQUvMM+UTHpei/4PqETF9BF6hLAkqn+8C 7J7coodwEWACq4tK8tA7VC6fo4Euem7ALj5Bf7oo= Received: from subhashj-linux1.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: subhashj@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9C2456151D; Thu, 24 Nov 2016 00:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1479947495; bh=Yyph9CiAW0nEAturjnBwZwj0THRbm9N5N49Ftoypmck=; h=From:To:Cc:Subject:Date:From; b=a5BixtwqMgR/ZQASeRqmxY3SLvyR2D4fL+8xXfOztM91yVJciYBd4Qo0OVqt25sBQ LtEecwAmkqIkiHdSJJhzwjy1ChwggE7t6xGe95ypFwB9DQwRCYa07exzfee/hwd2/u 9Me7547W8A8zB2ohUdgXU4U+EuSJ8Pl9UBSoPpWs= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 9C2456151D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=subhashj@codeaurora.org From: Subhash Jadavani To: vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: Yaniv Gardi , Subhash Jadavani , linux-scsi@vger.kernel.org (open list:UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v1 03/11] scsi: ufs: update device descriptor maximum size Date: Wed, 23 Nov 2016 16:31:30 -0800 Message-Id: <1479947491-7016-1-git-send-email-subhashj@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yaniv Gardi According to JESD220B - UFS v2.0, the maximum size of device descriptor has changed from 0x1F to 0x40. This patch updates the maximum size of this descriptor. Signed-off-by: Yaniv Gardi Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h index 7a6ccb6..8e6709a 100644 --- a/drivers/scsi/ufs/ufs.h +++ b/drivers/scsi/ufs/ufs.h @@ -163,7 +163,7 @@ enum desc_header_offset { }; enum ufs_desc_max_size { - QUERY_DESC_DEVICE_MAX_SIZE = 0x1F, + QUERY_DESC_DEVICE_MAX_SIZE = 0x40, QUERY_DESC_CONFIGURAION_MAX_SIZE = 0x90, QUERY_DESC_UNIT_MAX_SIZE = 0x23, QUERY_DESC_INTERCONNECT_MAX_SIZE = 0x06,