On Wed, 23 Oct 2024 at 23:31, Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > > On Sun, Oct 06, 2024 at 07:25:28PM +0530, Seshu Madhavi Puppala wrote: > > Crypto reprogram all keys is called for each MMC runtime > > suspend/resume in current upstream design. > > Is that correct? I thought that similar to what is done for UFS, the key > reprogramming happens only after the MMC controller is reset. I thought that is > different from a runtime suspend. Looks like Seshu is not really worried about the host's runtime suspend, but the card's runtime suspend. Perhaps there are some out of tree code involved here that makes use of MMC_CAP_AGGRESSIVE_PM, which is what allows the card to be runtime suspended? > > If it's in fact triggering more often, maybe that is what needs to be fixed? We could extend the runtime PM autosusend timeout for the card, if that makes sense. Kind regards Uffe