Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501190

Re: [RESEND PATCH] scsi: ufs: fix race between clock gating and devfreq scaling work

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH] scsi: ufs: fix race between clock gating and devfreq scaling work
Date 2016-10-14 22:50 +0200
Message-ID <sshAt-6iL-7@gated-at.bofh.it> (permalink)
References <sreuZ-4zZ-5@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Subhash" == Subhash Jadavani <subhashj@codeaurora.org> writes:

Subhash> UFS devfreq clock scaling work may require clocks to be ON if
Subhash> it need to execute some UFS commands hence it may request for
Subhash> clock hold before issuing the command. But if UFS clock gating
Subhash> work is already running in parallel, ungate work would end up
Subhash> waiting for the clock gating work to finish and as clock gating
Subhash> work would also wait for the clock scaling work to finish, we
Subhash> would enter in deadlock state. Here is the call trace during
Subhash> this deadlock state:

Somebody from the UFS camp, please review!

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [RESEND PATCH] scsi: ufs: fix race between clock gating and devfreq scaling work "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-10-14 22:50 +0200
  Re: [RESEND PATCH] scsi: ufs: fix race between clock gating and  devfreq scaling work Subhash Jadavani <subhashj@codeaurora.org> - 2016-10-18 02:20 +0200

csiph-web