Re: [PATCH v6 1/2] mmc: Allow host driver to control the re-programming of crypto keys
Eric Biggers <[email protected]> Mon, 3 Aug 2026 13:13:40 -0700
| Newsgroups | org.kernel.vger.linux-mmc,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260803201340.GA63318@quark> |
On Mon, Aug 03, 2026 at 10:01:22PM +0530, Neeraj Soni wrote: > The register context for the crypto profile belongs to the > sdhci/cqhci host and not the mmc card, hence re-programming should be > managed by the host driver itself. > > Add the flag MMC_CAP2_CRYPTO_NO_REPROG as part of host->caps2 to control > reprogramming keys to crypto engine for SoCs which do not require this > feature. > > Signed-off-by: Seshu Madhavi Puppala <[email protected]> > Co-developed-by: Ram Prakash Gupta <[email protected]> > Signed-off-by: Ram Prakash Gupta <[email protected]> > Co-developed-by: Sarthak Garg <[email protected]> > Signed-off-by: Sarthak Garg <[email protected]> > Signed-off-by: Debraj Mukhopadhyay <[email protected]> > Signed-off-by: Neeraj Soni <[email protected]> > --- Reviewed-by: Eric Biggers <[email protected]> - Eric