From patchwork Mon Oct 18 15:10:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 12567289 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D849EC433FE for ; Mon, 18 Oct 2021 15:10:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B608E6103D for ; Mon, 18 Oct 2021 15:10:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232642AbhJRPNB (ORCPT ); Mon, 18 Oct 2021 11:13:01 -0400 Received: from mga14.intel.com ([192.55.52.115]:56543 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232846AbhJRPM5 (ORCPT ); Mon, 18 Oct 2021 11:12:57 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10141"; a="228540136" X-IronPort-AV: E=Sophos;i="5.85,382,1624345200"; d="scan'208";a="228540136" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 08:10:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,382,1624345200"; d="scan'208";a="444086369" Received: from ahunter-desktop.fi.intel.com ([10.237.72.76]) by orsmga003.jf.intel.com with ESMTP; 18 Oct 2021 08:10:05 -0700 From: Adrian Hunter To: "Martin K . Petersen" Cc: "James E . J . Bottomley" , Bean Huo , Avri Altman , linux-scsi@vger.kernel.org Subject: [PATCH V2 0/1] scsi: ufs-pci: Force a full restore after suspend-to-disk Date: Mon, 18 Oct 2021 18:10:03 +0300 Message-Id: <20211018151004.284200-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi This patch ensures suspend-to-disk works with Host Performance Booster. Since the Host Perfomance Booster feature was added in v5.15, please consider this for v5.15 fixes. Changes in V2: scsi: ufs-pci: Force a full restore after suspend-to-disk Add missing #ifdef CONFIG_PM_SLEEP as per kernel test robot Add Reviewed-by: Avri Altman Adrian Hunter (1): scsi: ufs-pci: Force a full restore after suspend-to-disk drivers/scsi/ufs/ufshcd-pci.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) Regards Adrian