<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/ccree/cc_pm.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-05-22T05:38:46Z</updated>
<entry>
<title>crypto: ccree - handle tee fips error during power management resume</title>
<updated>2019-05-22T05:38:46Z</updated>
<author>
<name>Ofir Drang</name>
</author>
<published>2019-04-18T13:39:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5b076649d2ec7be156013187fa6932dffc96db3'/>
<id>urn:sha1:b5b076649d2ec7be156013187fa6932dffc96db3</id>
<content type='text'>
commit 7138377ce10455b7183c6dde4b2c51b33f464c45 upstream.

in order to support cryptocell tee fips error that may occurs while
cryptocell ree is suspended, an cc_tee_handle_fips_error  call added
to the cc_pm_resume function.

Signed-off-by: Ofir Drang &lt;ofir.drang@arm.com&gt;
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend</title>
<updated>2019-05-22T05:38:46Z</updated>
<author>
<name>Ofir Drang</name>
</author>
<published>2019-04-18T13:39:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22a44b51f2e06c693076c1fa63e45d1a72d81984'/>
<id>urn:sha1:22a44b51f2e06c693076c1fa63e45d1a72d81984</id>
<content type='text'>
commit 3499efbeed39d114873267683b9e776bcb34b058 upstream.

During power management suspend the driver need to prepare the device
for the power down operation and as a last indication write to the
HOST_POWER_DOWN_EN register which signals to the hardware that
The ccree is ready for power down.

Signed-off-by: Ofir Drang &lt;ofir.drang@arm.com&gt;
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: ccree - pm resume first enable the source clk</title>
<updated>2019-05-22T05:38:45Z</updated>
<author>
<name>Ofir Drang</name>
</author>
<published>2019-04-18T13:39:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1a7dc5d0e4643ee7ac80fdfcd82dff8a723a035'/>
<id>urn:sha1:f1a7dc5d0e4643ee7ac80fdfcd82dff8a723a035</id>
<content type='text'>
commit 7766dd774d80463cec7b81d90c8672af91de2da1 upstream.

On power management resume function first enable the device clk source
to allow access to the device registers.

Signed-off-by: Ofir Drang &lt;ofir.drang@arm.com&gt;
Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>crypto: ccree - fix resume race condition on init</title>
<updated>2019-02-08T07:28:02Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2019-02-07T13:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1358c13a48c43f5e4de0c1835291837a27b9720c'/>
<id>urn:sha1:1358c13a48c43f5e4de0c1835291837a27b9720c</id>
<content type='text'>
We were enabling autosuspend, which is using data set by the
hash module, prior to the hash module being inited, casuing
a crash on resume as part of the startup sequence if the race
was lost.

This was never a real problem because the PM infra was using low
res timers so we were always winning the race, until commit 8234f6734c5d
("PM-runtime: Switch autosuspend over to using hrtimers") changed that :-)

Fix this by seperating the PM setup and enablement and doing the
latter only at the end of the init sequence.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Cc: Vincent Guittot &lt;vincent.guittot@linaro.org&gt;
Cc: stable@kernel.org # v4.20
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - add ahash support</title>
<updated>2018-02-15T15:26:41Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-01-22T09:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63893811b0fcb52f6eaf9811cc08bddd46f81c3e'/>
<id>urn:sha1:63893811b0fcb52f6eaf9811cc08bddd46f81c3e</id>
<content type='text'>
Add CryptoCell async. hash and HMAC support.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - introduce CryptoCell driver</title>
<updated>2018-02-15T15:26:40Z</updated>
<author>
<name>Gilad Ben-Yossef</name>
</author>
<published>2018-01-22T09:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c3f97276e156820a0433bf7b59a4df1100829ae'/>
<id>urn:sha1:4c3f97276e156820a0433bf7b59a4df1100829ae</id>
<content type='text'>
Introduce basic low level Arm TrustZone CryptoCell HW support.
This first patch doesn't actually register any Crypto API
transformations, these will follow up in the next patch.

This first revision supports the CC 712 REE component.

Signed-off-by: Gilad Ben-Yossef &lt;gilad@benyossef.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
