<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/lib/reed_solomon/encode_rs.c, branch v6.12.80</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-04-25T02:50:08+00:00</updated>
<entry>
<title>rslib: Split rs control struct</title>
<updated>2018-04-25T02:50:08+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2018-04-22T16:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2163398192f6a53e84765cfe3e5a2088437c3d2d'/>
<id>urn:sha1:2163398192f6a53e84765cfe3e5a2088437c3d2d</id>
<content type='text'>
The decoder library uses variable length arrays on stack. To get rid of
them it would be simple to allocate fixed length arrays on stack, but those
might become rather large. The other solution is to allocate the buffers in
the rs control structure, but this cannot be done as long as the structure
can be shared by several users. Sharing is desired because the RS polynom
tables are large and initialization is time consuming.

To solve this split the codec information out of the control structure and
have a pointer to a shared codec in it. Instantiate the control structure
for each user, create a new codec if no shareable is avaiable yet.  Adjust
all affected usage sites to the new scheme.

This allows to add per instance decoder buffers to the control structure
later on.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Segher Boessenkool &lt;segher@kernel.crashing.org&gt;
Cc: Kernel Hardening &lt;kernel-hardening@lists.openwall.com&gt;
Cc: Richard Weinberger &lt;richard@nod.at&gt;
Cc: Mike Snitzer &lt;snitzer@redhat.com&gt;
Cc: Anton Vorontsov &lt;anton@enomsg.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Andrew Morton &lt;akpm@linuxfoundation.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Alasdair Kergon &lt;agk@redhat.com&gt;
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>rslib: Add SPDX identifiers</title>
<updated>2018-04-25T02:50:07+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2018-04-22T16:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc8f923eaee24061c557cb3221abeea3b95072c4'/>
<id>urn:sha1:dc8f923eaee24061c557cb3221abeea3b95072c4</id>
<content type='text'>
The Reed-Solomon library is based on code from Phil Karn who granted
permission to import it into the kernel under the GPL V2.

See commit 15b5423757a7 ("Shared Reed-Solomon ECC library") in the history
git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git

  ...
  The encoder/decoder code is lifted from the GPL'd userspace RS-library
  written by Phil Karn. I modified/wrapped it to provide the different
  functions which we need in the MTD/NAND code.
  ...
  Signed-Off-By: Thomas Gleixner &lt;tglx@linutronix.de&gt;
  Signed-Off-By: David Woodhouse &lt;dwmw2@infradead.org&gt;
  "No objections at all. Just keep the authorship notices." -- Phil Karn

Add the proper SPDX identifiers according to
Documentation/process/license-rules.rst.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Segher Boessenkool &lt;segher@kernel.crashing.org&gt;
Cc: Kernel Hardening &lt;kernel-hardening@lists.openwall.com&gt;
Cc: Richard Weinberger &lt;richard@nod.at&gt;
Cc: Mike Snitzer &lt;snitzer@redhat.com&gt;
Cc: Anton Vorontsov &lt;anton@enomsg.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Andrew Morton &lt;akpm@linuxfoundation.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Alasdair Kergon &lt;agk@redhat.com&gt;
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>rslib: Cleanup top level comments</title>
<updated>2018-04-25T02:50:06+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2018-04-22T16:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3413e1891d443b9e936b4b6fb0ba4cdc38ff71b6'/>
<id>urn:sha1:3413e1891d443b9e936b4b6fb0ba4cdc38ff71b6</id>
<content type='text'>
File references and stale CVS ids are really not useful.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Boris Brezillon &lt;boris.brezillon@free-electrons.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Cc: Kees Cook &lt;keescook@chromium.org&gt;
Cc: Segher Boessenkool &lt;segher@kernel.crashing.org&gt;
Cc: Kernel Hardening &lt;kernel-hardening@lists.openwall.com&gt;
Cc: Richard Weinberger &lt;richard@nod.at&gt;
Cc: Mike Snitzer &lt;snitzer@redhat.com&gt;
Cc: Anton Vorontsov &lt;anton@enomsg.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Andrew Morton &lt;akpm@linuxfoundation.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Alasdair Kergon &lt;agk@redhat.com&gt;
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>[LIB] reed_solomon: Clean up trailing white spaces</title>
<updated>2005-11-07T13:25:38+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2005-11-07T11:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=03ead8427d65f6986a8bf5fd3f29a879348780ad'/>
<id>urn:sha1:03ead8427d65f6986a8bf5fd3f29a879348780ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux-2.6.12-rc2</title>
<updated>2005-04-16T22:20:36+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-04-16T22:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'/>
<id>urn:sha1:1da177e4c3f41524e886b7f1b8a0c1fc7321cac2</id>
<content type='text'>
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
</content>
</entry>
</feed>
