Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1235818ybv; Thu, 13 Feb 2020 18:50:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxqJfkO4ZHSIUxExqQINVF3kk651TlBK489yT/Rjv4vYuB15BJH6BOMI31x09bSWg0yB9ia X-Received: by 2002:a9d:65cb:: with SMTP id z11mr492678oth.348.1581648628943; Thu, 13 Feb 2020 18:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581648628; cv=none; d=google.com; s=arc-20160816; b=qEUrtE2ZcoF+zcu0Yg99sEZsdwcbty9vAPAPOt6sAcuNIt06N8TKhU+NNLEdiHEP9y 5WrjBwkJFKPeR+Pvg+xIbTheHp7mn49KCIMnQ15y1YpPiRYTnNS1j9d5/q6eeS5eE8LI FBDj7p186kIe6VKv5hPnt6VUcNEf0pKhjMLuGFV765Ke7OVMhXA3s+UQBhefS3TwjD4p aLF3wbytRKONzAqukI1yjkBm9Tz+IuSMDCKlVPJ0B6L6ACRSLSxUxfNxazVK42XSuyb5 NtdDy9eYrBEnLBYmMlK8zZ7ybNOw4DSS2EmTXOD1tV/HgXWyBpXuVQ7UDRG4UuiP/Qhq CsBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=UWAYJSfeXjul/xRnXFEQLy56THzmnk0AwuyzQ8fL8JE=; b=LgfMAWQT2VmK8nIbpEZwzWm2d6mj6d2woYTQjLrQm7yWZ0aO/oLe1Ka6cYAxySalQE jJqnOAjGwfmQn9hgWw92vzdWSMYBiWlIpbg7TYf85nRDWhrrsi9/YVeI4bLL71BJwz/d ujtLmWThE5Hmmq44jCPUaBZmC2/4lqrS1n75va0qSMsvXfFmatCJcjtvF+JQs2paEW5u Tn6MnJLZCWtUWw66y61WRYRMtOeCUx3t1806m3YDbeu66ylx94Ffj8wVi7SzW688a3nm z0/uEXJpC5mHBJJDHL7HQElyVVe/fa+25qNyCOGlMOGKGqcvu/HdtLcKWwSUel2qsHUd CtFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=IO7Hshap; 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 y73si1886462oia.246.2020.02.13.18.50.15; Thu, 13 Feb 2020 18:50:28 -0800 (PST) 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=@mg.codeaurora.org header.s=smtp header.b=IO7Hshap; 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 S1728337AbgBNCsi (ORCPT + 99 others); Thu, 13 Feb 2020 21:48:38 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:43233 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728261AbgBNCsi (ORCPT ); Thu, 13 Feb 2020 21:48:38 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581648518; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=UWAYJSfeXjul/xRnXFEQLy56THzmnk0AwuyzQ8fL8JE=; b=IO7HshapIYd3D5EGKR630Ys4k2Fv0NFMP6jNdTBy9PDatjQ+4fxc9lA2Wm9BmufwP3UjPrOe 8n/6bHy1IG2aryycxGbpHy2Oa6a2Im5Fum44mEKvFYccRkmduH4KE0tJngTe/EekoVuv+WkE ZbmMNXWJ32MiHoV+ZMa1/BCc4yg= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e460a85.7fb4881a2a08-smtp-out-n03; Fri, 14 Feb 2020 02:48:37 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 82E4FC447A0; Fri, 14 Feb 2020 02:48:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hongwus) by smtp.codeaurora.org (Postfix) with ESMTPSA id B368EC43383; Fri, 14 Feb 2020 02:48:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 14 Feb 2020 10:48:35 +0800 From: hongwus@codeaurora.org To: Can Guo Cc: asutoshd@codeaurora.org, nguyenb@codeaurora.org, rnayak@codeaurora.org, linux-scsi@vger.kernel.org, kernel-team@android.com, saravanak@google.com, salyzyn@google.com, Sayali Lokhande , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Stanley Chu , Bean Huo , Bart Van Assche , Venkat Gopalakrishnan , Tomas Winkler , linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 1/7] scsi: ufs: Flush exception event before suspend In-Reply-To: <1581392451-28743-2-git-send-email-cang@codeaurora.org> References: <1581392451-28743-1-git-send-email-cang@codeaurora.org> <1581392451-28743-2-git-send-email-cang@codeaurora.org> Message-ID: <935eca44a8090631687a2fa298bcd595@codeaurora.org> X-Sender: hongwus@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-11 11:40, Can Guo wrote: > From: Sayali Lokhande > > Exception event can be raised by the device when system > suspend is in progress. This will result in unclocked > register access in exception event handler as clocks will > be turned off during suspend. This change makes sure to flush > exception event handler work in suspend before disabling > clocks to avoid unclocked register access issue. > > Signed-off-by: Sayali Lokhande > Signed-off-by: Asutosh Das > Signed-off-by: Can Guo > Reviewed-by: Bean Huo Reviewed-by: Hongwu Su