<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/crypto/cryptd.h, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.13.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2016-11-28T13:23:18Z</updated>
<entry>
<title>crypto: cryptd - Add support for skcipher</title>
<updated>2016-11-28T13:23:18Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2016-11-22T12:08:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4e0958d19bd86ee8121cf044eac4395c7e504fb3'/>
<id>urn:sha1:4e0958d19bd86ee8121cf044eac4395c7e504fb3</id>
<content type='text'>
This patch adds skcipher support to cryptd alongside ablkcipher.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: cryptd - Add helpers to check whether a tfm is queued</title>
<updated>2016-06-23T10:29:52Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2016-06-21T08:55:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=81760ea6a95ad4c41273a71052f61b9f087b5753'/>
<id>urn:sha1:81760ea6a95ad4c41273a71052f61b9f087b5753</id>
<content type='text'>
This patch adds helpers to check whether a given tfm is currently
queued.  This is meant to be used by ablk_helper and similar
entities to ensure that no reordering is introduced because of
requests queued in cryptd with respect to requests being processed
in softirq context.

The per-cpu queue length limit is also increased to 1000 in line
with network limits.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: cryptd - Add missing aead.h inclusion</title>
<updated>2015-05-13T02:31:46Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2015-05-11T09:48:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=53033d4d36b0299ef02e28155913414ec1089aac'/>
<id>urn:sha1:53033d4d36b0299ef02e28155913414ec1089aac</id>
<content type='text'>
cryptd.h needs to include crypto/aead.h because it uses crypto_aead.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: cryptd - Adding the AEAD interface type support to cryptd</title>
<updated>2010-09-20T08:05:12Z</updated>
<author>
<name>Adrian Hoban</name>
<email>adrian.hoban@intel.com</email>
</author>
<published>2010-09-20T08:05:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=298c926c6d7f50d91d6acb76c33b83bab5b5bd5c'/>
<id>urn:sha1:298c926c6d7f50d91d6acb76c33b83bab5b5bd5c</id>
<content type='text'>
This patch adds AEAD support into the cryptd framework. Having AEAD
support in cryptd enables crypto drivers that use the AEAD
interface type (such as the patch for AEAD based RFC4106 AES-GCM
implementation using Intel New Instructions) to leverage cryptd for
asynchronous processing.

Signed-off-by: Adrian Hoban &lt;adrian.hoban@intel.com&gt;
Signed-off-by: Tadeusz Struk &lt;tadeusz.struk@intel.com&gt;
Signed-off-by: Gabriele Paoloni &lt;gabriele.paoloni@intel.com&gt;
Signed-off-by: Aidan O'Mahony &lt;aidan.o.mahony@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ghash - Add PCLMULQDQ accelerated implementation</title>
<updated>2009-10-19T02:53:06Z</updated>
<author>
<name>Huang Ying</name>
<email>ying.huang@intel.com</email>
</author>
<published>2009-10-19T02:53:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0e1227d356e9b2fe0500d6cc7084f752040a1e0e'/>
<id>urn:sha1:0e1227d356e9b2fe0500d6cc7084f752040a1e0e</id>
<content type='text'>
PCLMULQDQ is used to accelerate the most time-consuming part of GHASH,
carry-less multiplication. More information about PCLMULQDQ can be
found at:

http://software.intel.com/en-us/articles/carry-less-multiplication-and-its-usage-for-computing-the-gcm-mode/

Because PCLMULQDQ changes XMM state, its usage must be enclosed with
kernel_fpu_begin/end, which can be used only in process context, the
acceleration is implemented as crypto_ahash. That is, request in soft
IRQ context will be defered to the cryptd kernel thread.

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: cryptd - Add support to access underlaying shash</title>
<updated>2009-08-06T05:35:20Z</updated>
<author>
<name>Huang Ying</name>
<email>ying.huang@intel.com</email>
</author>
<published>2009-08-06T05:35:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ace1366369841c9c3a9788f79baa4d73f1c53107'/>
<id>urn:sha1:ace1366369841c9c3a9788f79baa4d73f1c53107</id>
<content type='text'>
cryptd_alloc_ahash() will allocate a cryptd-ed ahash for specified
algorithm name. The new allocated one is guaranteed to be cryptd-ed
ahash, so the shash underlying can be gotten via cryptd_ahash_child().

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: cryptd - Add support to access underlying blkcipher</title>
<updated>2009-02-18T08:48:05Z</updated>
<author>
<name>Huang Ying</name>
<email>ying.huang@intel.com</email>
</author>
<published>2009-01-18T05:19:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1cac2cbc76b9f3fce0d4ccc374e724e7f2533a47'/>
<id>urn:sha1:1cac2cbc76b9f3fce0d4ccc374e724e7f2533a47</id>
<content type='text'>
cryptd_alloc_ablkcipher() will allocate a cryptd-ed ablkcipher for
specified algorithm name. The new allocated one is guaranteed to be
cryptd-ed ablkcipher, so the blkcipher underlying can be gotten via
cryptd_ablkcipher_child().

Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
ux-6.19.y</option>
<option value='linux-6.2.y'>linux-6.2.y</option>
<option value='linux-6.3.y'>linux-6.3.y</option>
<option value='linux-6.4.y'>linux-6.4.y</option>
<option value='linux-6.5.y'>linux-6.5.y</option>
<option value='linux-6.6.y'>linux-6.6.y</option>
<option value='linux-6.7.y'>linux-6.7.y</option>
<option value='linux-6.8.y'>linux-6.8.y</option>
<option value='linux-6.9.y'>linux-6.9.y</option>
<option value='linux-rolling-lts'>linux-rolling-lts</option>
<option value='linux-rolling-stable'>linux-rolling-stable</option>
<option value='master'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Hosts the 0x221E linux distro kernel.</td><td class='sub right'>Ubuntu</td></tr></table>
<table class='tabs'><tr><td>
<a href='/distro/kernel/?h=linux-6.12.y'>summary</a><a href='/distro/kernel/refs/?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69'>refs</a><a class='active' href='/distro/kernel/log/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;showmsg=1'>log</a><a href='/distro/kernel/tree/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69'>tree</a><a href='/distro/kernel/commit/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69'>commit</a><a href='/distro/kernel/diff/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69'>diff</a></td><td class='form'><form class='right' method='get' action='/distro/kernel/log/drivers/gpu/drm/nouveau/core/os.h'>
<input type='hidden' name='h' value='linux-6.12.y'/><input type='hidden' name='id' value='ed408f7c0fab7ecc72f94f204f0d2607b2749f69'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/distro/kernel/log/?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>root</a>/<a href='/distro/kernel/log/drivers?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>drivers</a>/<a href='/distro/kernel/log/drivers/gpu?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>gpu</a>/<a href='/distro/kernel/log/drivers/gpu/drm?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>drm</a>/<a href='/distro/kernel/log/drivers/gpu/drm/nouveau?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>nouveau</a>/<a href='/distro/kernel/log/drivers/gpu/drm/nouveau/core?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>core</a>/<a href='/distro/kernel/log/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69&amp;showmsg=1'>os.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/distro/kernel/log/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=ed408f7c0fab7ecc72f94f204f0d2607b2749f69'>Collapse</a>)</th><th class='left'>Author</th></tr>
<tr class='logheader'><td><span title='2012-10-03 13:12:57 +1000'>2012-10-03</span></td><td class='logsubject'><a href='/distro/kernel/commit/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=d38ac5217ab43cf61e8ebe6d7114fb2d1ca9a3a4'>drm/nouveau/mxm: split up into bios code and a subdev module</a></td><td>Ben Skeggs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;


</td></tr>
<tr class='logheader'><td><span title='2012-10-03 13:12:45 +1000'>2012-10-03</span></td><td class='logsubject'><a href='/distro/kernel/commit/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=e0996aea4c349ba302b63203b7d5cab6034dbdca'>drm/nouveau/gpio: port gpio to subdev interfaces</a></td><td>Ben Skeggs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
v2: Ben Skeggs &lt;bskeggs@redhat.com&gt;
- rebase on top of v3.6-rc6 with gpio reset patch integrated already

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;


</td></tr>
<tr class='logheader'><td><span title='2012-10-03 13:12:45 +1000'>2012-10-03</span></td><td class='logsubject'><a href='/distro/kernel/commit/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=70c0f263cc2eb12e02506eb75f0a71490e7dea4d'>drm/nouveau/bios: pull in basic vbios subdev, more to come later</a></td><td>Ben Skeggs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
v2: Ben Skeggs &lt;bskeggs@redhat.com&gt;
- use unaligned macros to access vbios image
- endianness fixes

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;


</td></tr>
<tr class='logheader'><td><span title='2012-10-03 13:12:44 +1000'>2012-10-03</span></td><td class='logsubject'><a href='/distro/kernel/commit/drivers/gpu/drm/nouveau/core/os.h?h=linux-6.12.y&amp;id=9274f4a9ba7e70d1770e237fca16d52f27f0c728'>drm/nouveau/core: pull in most of the new core infrastructure</a></td><td>Ben Skeggs</td></tr>
<tr class='nohover-highlight'><td/><td colspan='3' class='logmsg'>
This commit provides most of the infrastructure to support a major overhaul
of Nouveau's internals coming in the following commits.  This work aims to
take all the things we've learned over the last several years, and turn that
into a cleaner architecture that's more maintainable going forward.

RAMHT and MM bits of the new core have been left out for the moment, and
will be pulled in as I go through the process of porting the code to
become either subdev or engine modules.

There are several main goals I wanted to achieve through this work:

-- Reduce complexity

The goal here was to make each component of the driver as independent as
possible, which will ease maintainability and readability, and provide a
good base for resetting locked up GPU units in the future.

-- Better tracking of GPU units that are required at any given time

This is for future PM work, we'll be able to tell exactly what parts of the
GPU we need powered at any given point (etc).

-- Expose all available NVIDIA GPUs to the client

In order to support things such as multi-GPU channels, we want to be able
to expose all the NVIDIA GPUs to the client over a single file descriptor
so it can send a single push buffer to multiple GPUs.

-- Untangle the core hardware support code from the DRM implementation

This happened initially as an unexpected side-effect of developing the
initial core infrastructure in userspace, but it turned into a goal of
the whole project.  Initial benefits will be the availablility of a
number of userspace tools and tests using the same code as the driver
itself, but will also be important as I look into some virtualisation
ideas.

v2: Ben Skeggs &lt;bskeggs@redhat.com&gt;
- fix duplicate assignments noticed by clang
- implement some forgotten yelling in error path
- ensure 64-bit engine mask is used everywhere

v3: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
- sparse fixes
- inline nv_printk into nv_assert to prevent recursive inlining issues

v4: Ben Skeggs &lt;bskeggs@redhat.com&gt;
- fixed minor memory leak on gpuobj destruction

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;


</td></tr>
