Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp590442pxb; Wed, 27 Jan 2021 16:03:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXBWGuf0+77WwHRtUfvoF3Q+js/GZodDgiiU3PYfdyQILZBdxU8A/lwou6KDUFvhD5enEf X-Received: by 2002:a17:906:6bca:: with SMTP id t10mr8487783ejs.35.1611792209866; Wed, 27 Jan 2021 16:03:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792209; cv=none; d=google.com; s=arc-20160816; b=kjKqsq5x4kxHaC0P4geR2u2MjQjQi5J+64Mzmhd3x18lg2ytpoL7XCHAkD2YAKHOxT sUgsnpPryMH/aj873W+vEVAm9Nx1K9yfZBRX3HBiUdR3BulxUhqIK+Lb1PDs2dk1xZD6 /NNdcLdRmBKq2l07GAysN3TSUP6OFSINKrzOGnL7OteuJ36Xz0Ce2BeocDFij1M11ZHg dYzUp8mlFSrdyMRfXHGuOQzy2YPxg9urIt6u+rAowKjj8E7wCeg5P1lunrCMIoeDQX2p 1M7GGf+oeiQkSnfiWstxQdWcZeUTD8S74owYIsjaEGnAHhD+jSH0fUXaDemz+hJOagn+ kRhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :wdcironportexception:ironport-sdr:ironport-sdr:ironport-sdr :dkim-signature; bh=xTwGKqf7DLLwJzKCMT3EVnDzUtYPKJy8zzjKYb9KPhI=; b=Tp37I5OfAfJLoXcgd9u6cTTCfrvqzjNhWgmKIxlxlIwoS4V1wQFKS5dmRUKb8CsARU 1gUUxGXRzQ9cqE2JmOQxwCDoLXc+W2gwEuLoeK3wh9wq7g0cOsaRIjZqYHhWbETr0dC+ SmOk0POMcXwIufgrhFYBsgs3E1nw5psbs9CJU+RpIl6sVm9O6ozH89CjxGEVreQc88cX DjowJ7Fz7EEac5KhW4Wi/nagntzHLJaY/FBnB5EuupHrEH9yL2efOENAE0PE71uRp4CJ t3GL3JLRb66XBgJMniQ5BEhhGvH9rOeIoCZY1bKTyFRyY0EteRnhc2DAESyu2iEzgPs3 ITsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Uonukni7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si1871799eds.506.2021.01.27.16.03.06; Wed, 27 Jan 2021 16:03:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Uonukni7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343759AbhA0PQo (ORCPT + 99 others); Wed, 27 Jan 2021 10:16:44 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:25658 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235727AbhA0PP3 (ORCPT ); Wed, 27 Jan 2021 10:15:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1611760528; x=1643296528; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C2n2qbZr6K8K8MlNh1JdDi0Gp2waOLViiNEO8MOhZ0s=; b=Uonukni7nqGl1uJYZqoYwV6v9MoOr07sS90UPToepsxOxi38oN2Y87nK TPKAvlM4iihAUVVwx/2OQsqs4wzLkpBGVxqLwzojoFVdZCh+t535TN+M2 LGk/erislm+CdOD7FfAVp6aG68z8HaIBmuD2dFl//LTj5qm9CCwTkfT6K Yhy0f7b7AnSYkSPQmUEQzjvkD2rQ5EuA8OVckHL8m3JPMuba7Q2MWSfE7 8lHNbNmdL3vp9TtA55GAyZTmi57BmhjU0fNJVAWMbswjEeb+jvF4IzJ+6 +AF/0yUWkztzWsHCqHD9TiL2Gb7dUmHfnk1ald1AlTWX5efs6Qn1dLGBH g==; IronPort-SDR: hwLWqOL9bWDVA/StNymDDFvmFEw64d47dpOrn1os+1A+p1SZeFX4NT7KBFTvbiOsSS9E690yE0 J22QsvhYueHZVB4+NRZuC6POFFKgaQrZuJhaPIBz9HABhObDmrlQbfds+PvxGKzMkbG4iNjwcD wLYYG85nARvAz78bp2URatH+v/OsVO7j2JzM0atrbTRqOiMzB/dMaeWQ/nEC0G9/8jCqNcvNcC G4OJRY/7iLNsW2kbAPErqqWR0GLGf5kegno7loI+elgZ2dGi5GMbzRgOeEGRORBEUmbemTc6OR Mzk= X-IronPort-AV: E=Sophos;i="5.79,379,1602518400"; d="scan'208";a="159631247" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 27 Jan 2021 23:13:45 +0800 IronPort-SDR: OGeUd8Ln1ZDER3s9Lv/aGn+y+1jPuceKcrY2Pi5U43bWaMSnYGO9XwoiVP9Vcp51VeaZ4NvU/J 9iWkUafBYpJDCAKMAbX7nN6IfTQAkUGtsm0G87rEbxSiUS1CjYlNden3NPUEq2UGdCG7DK9y1z 5c48ET/IP8pJiot/ricZ743l61l3rZlXv50eydYUbFkjRfPZdQrpW/B7Un78aMigckByUTHTpM ljfiRsDrM7hFSbuQOlOWbgQW+tFnMeaaq1qvhbV6lFtW7EgcUIuVBNyLsVqglpN7vyYaE7QkuN prl29T63d1W9PBt9+Do+rxvO Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2021 06:56:04 -0800 IronPort-SDR: o489SMbUEnyxQWr0H2UZf+VKLk5mCIyRERRszbtbajz3gCxfZiZ4cH/cCjfwtFRNsbcP6Mcbiu Kpk42Onft1VInu73GYHn42xhGdusAF0n5+6cCXDjHsZJCuoezJsoVmTvM/1GuIvTSumtCLMDTa a9YUvyKXXmmRn4v7OtqHn2OVbaJnYtpM4ppARefBzXv66x8AtME/IiaxQm7TEp6i1DsOxBBXlC eVjsDH5uBnOAu2EwxQ/SQvzR1ry4G1jBe8G04W2FbrGl2OMLBDb5WWxuSIsAdOeytLoWcQkn3p Tf4= WDCIronportException: Internal Received: from bxygm33.sdcorp.global.sandisk.com ([10.0.231.247]) by uls-op-cesaip01.wdc.com with ESMTP; 27 Jan 2021 07:13:41 -0800 From: Avri Altman To: "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, Bart Van Assche , yongmyung lee , Daejun Park , alim.akhtar@samsung.com, asutoshd@codeaurora.org, Zang Leigang , Avi Shchislowski , Bean Huo , cang@codeaurora.org, stanley.chu@mediatek.com, Avri Altman Subject: [PATCH 8/8] scsi: ufshpb: Add support for host control mode Date: Wed, 27 Jan 2021 17:12:17 +0200 Message-Id: <20210127151217.24760-9-avri.altman@wdc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127151217.24760-1-avri.altman@wdc.com> References: <20210127151217.24760-1-avri.altman@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support devices that report they are using host control mode. Signed-off-by: Avri Altman --- drivers/scsi/ufs/ufshpb.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c index 482f01c3b3ee..3ea9f7079189 100644 --- a/drivers/scsi/ufs/ufshpb.c +++ b/drivers/scsi/ufs/ufshpb.c @@ -2035,12 +2035,6 @@ void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf) int version; ufshpb_mode = desc_buf[DEVICE_DESC_PARAM_HPB_CONTROL]; - if (ufshpb_mode == HPB_HOST_CONTROL) { - dev_err(hba->dev, "%s: host control mode is not supported.\n", - __func__); - hpb_dev_info->hpb_disabled = true; - return; - } version = get_unaligned_be16(desc_buf + DEVICE_DESC_PARAM_HPB_VER); if (version != HPB_SUPPORT_VERSION) { -- 2.25.1