<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/crypto/ccp/ccp-dev.h, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-20T12:30:58Z</updated>
<entry>
<title>crypto: ccp - Change ISR handler method for a v3 CCP</title>
<updated>2017-05-20T12:30:58Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2017-04-21T15:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f106cd8575c41a45d3a329bd9fdfdce28ab98601'/>
<id>urn:sha1:f106cd8575c41a45d3a329bd9fdfdce28ab98601</id>
<content type='text'>
commit 7b537b24e76a1e8e6d7ea91483a45d5b1426809b upstream.

The CCP has the ability to perform several operations simultaneously,
but only one interrupt.  When implemented as a PCI device and using
MSI-X/MSI interrupts, use a tasklet model to service interrupts. By
disabling and enabling interrupts from the CCP, coupled with the
queuing that tasklets provide, we can ensure that all events
(occurring on the device) are recognized and serviced.

This change fixes a problem wherein 2 or more busy queues can cause
notification bits to change state while a (CCP) interrupt is being
serviced, but after the queue state has been evaluated. This results
in the event being 'lost' and the queue hanging, waiting to be
serviced. Since the status bits are never fully de-asserted, the
CCP never generates another interrupt (all bits zero -&gt; one or more
bits one), and no further CCP operations will be executed.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
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: ccp - Use only the relevant interrupt bits</title>
<updated>2017-05-20T12:30:58Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2017-04-20T20:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1adc5e04af5add90c25f285df7516a86cfc770d'/>
<id>urn:sha1:e1adc5e04af5add90c25f285df7516a86cfc770d</id>
<content type='text'>
commit 56467cb11cf8ae4db9003f54b3d3425b5f07a10a upstream.

Each CCP queue can product interrupts for 4 conditions:
operation complete, queue empty, error, and queue stopped.
This driver only works with completion and error events.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
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: ccp - Make some CCP DMA channels private</title>
<updated>2017-04-08T07:35:06Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2017-03-23T17:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a16448c2132469b7f4dfd26cacff8b313920ede'/>
<id>urn:sha1:5a16448c2132469b7f4dfd26cacff8b313920ede</id>
<content type='text'>
commit efc989fce8703914bac091dcc4b8ff7a72ccf987 upstream.

The CCP registers its queues as channels capable of handling
general DMA operations. The NTB driver will use DMA if
directed, but as public channels can be reserved for use in
asynchronous operations some channels should be held back
as private. Since the public/private determination is
handled at a device level, reserve the "other" (secondary)
CCP channels as private.

Add a module parameter that allows for override, to be
applied to all channels on all devices.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
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: ccp - Fix double add when creating new DMA command</title>
<updated>2017-02-03T09:45:46Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2017-01-27T23:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5da5c5667381d2772374ee6a2967b3576c9483d'/>
<id>urn:sha1:e5da5c5667381d2772374ee6a2967b3576c9483d</id>
<content type='text'>
Eliminate a double-add by creating a new list to manage
command descriptors when created; move the descriptor to
the pending list when the command is submitted.

Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - remove unneeded code</title>
<updated>2016-10-25T03:08:21Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-10-18T22:28:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec9b70df75b3600ca20338198a43173f23e6bb9b'/>
<id>urn:sha1:ec9b70df75b3600ca20338198a43173f23e6bb9b</id>
<content type='text'>
Clean up patch for an unneeded structure member.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - change bitfield type to unsigned ints</title>
<updated>2016-10-25T03:08:20Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-10-18T22:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdd2cf9db1e25a46a74c5802d18435171c92e7df'/>
<id>urn:sha1:fdd2cf9db1e25a46a74c5802d18435171c92e7df</id>
<content type='text'>
Bit fields are not sensitive to endianness, so use
a transparent standard data type

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - change type of struct member lsb to signed</title>
<updated>2016-10-21T03:03:46Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-10-12T13:47:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cf799680d2612a21d50ed554848dd37241672c8'/>
<id>urn:sha1:3cf799680d2612a21d50ed554848dd37241672c8</id>
<content type='text'>
The lsb field uses a value of -1 to indicate that it
is unassigned. Therefore type must be a signed int.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - Make syslog errors human-readable</title>
<updated>2016-10-02T14:33:45Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-09-28T16:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81422badb39078fde1ffcecda3caac555226fc7b'/>
<id>urn:sha1:81422badb39078fde1ffcecda3caac555226fc7b</id>
<content type='text'>
Add human-readable strings to log messages about CCP errors

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - clean up data structure</title>
<updated>2016-10-02T14:33:44Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-09-28T16:53:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ddb9dc6be095ebe393f7eb582df09cc4847c5e9'/>
<id>urn:sha1:9ddb9dc6be095ebe393f7eb582df09cc4847c5e9</id>
<content type='text'>
Change names of data structure instances.  Add const
keyword where appropriate.  Add error handling path.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccp - Enable use of the additional CCP</title>
<updated>2016-08-09T10:47:18Z</updated>
<author>
<name>Gary R Hook</name>
</author>
<published>2016-07-27T00:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e14e7d126765ce0156ab5e3b250b1270998c207d'/>
<id>urn:sha1:e14e7d126765ce0156ab5e3b250b1270998c207d</id>
<content type='text'>
A second CCP is available, identical to the first, with
its ownn PCI ID. Make it available for use by the crypto
subsystem, as well as for DMA activity and random
number generation.

This device is not pre-configured at at boot time. The
driver must configure it (during the probe) for use.

Signed-off-by: Gary R Hook &lt;gary.hook@amd.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
