[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq160oyo8jf.fsf@sermon.lab.mkp.net>
Date: Tue, 11 Oct 2016 17:55:16 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Subhash Jadavani <subhashj@...eaurora.org>
Cc: vinholikatti@...il.com, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com,
linux-scsi@...r.kernel.org (open list:UNIVERSAL FLASH STORAGE HOST
CONTROLLER DRIVER), linux-kernel@...r.kernel.org (open list)
Subject: Re: [RESEND PATCH v3] scsi: ufshcd: fix possible unclocked register access
>>>>> "Subhash" == Subhash Jadavani <subhashj@...eaurora.org> writes:
Subhash> Vendor specific setup_clocks callback may require the clocks
Subhash> managed by ufshcd driver to be ON. So if the vendor specific
Subhash> setup_clocks callback is called while the required clocks are
Subhash> turned off, it could result into unclocked register access.
Subhash> To prevent possible unclock register access, this change adds
Subhash> one more argument to setup_clocks callback to let it know
Subhash> whether it is called pre/post the clock changes by core driver.
Applied to 4.10/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists