<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/blackfin/lib, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-05-22T18:19:11Z</updated>
<entry>
<title>Blackfin: optimize strncpy a bit</title>
<updated>2010-05-22T18:19:11Z</updated>
<author>
<name>Robin Getz</name>
</author>
<published>2010-05-04T14:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=648eee52ccdc623e21b920d6048e93490a4860a7'/>
<id>urn:sha1:648eee52ccdc623e21b920d6048e93490a4860a7</id>
<content type='text'>
Add a little strncpy optimization which can easily cut boot time by 20%.

When the kernel is booting with initramfs, it builds up the filesystem
from a cpio archive by calling strncpy_from_user() via fs/namei.c's
do_getname() on every file in the archive (which can be lots) with a
length of PATH_MAX (1024).  This causes the dest of the strncpy to be
padded with many NUL bytes.

This optimization mostly causes these NUL bytes to be padded with a call
to memset() which is already optimized for filling memory quickly, but
the hardware loop helps a little bit as well.

Boot time measured with 'loglevel=0' so UART speed doesn't get in the way.

Signed-off-by: Robin Getz &lt;robin.getz@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: move string functions to normal lib/ assembly</title>
<updated>2010-05-22T18:19:09Z</updated>
<author>
<name>Robin Getz</name>
</author>
<published>2010-05-03T17:23:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=479ba6035862a9c08ce4351c7fff8926fde4ede5'/>
<id>urn:sha1:479ba6035862a9c08ce4351c7fff8926fde4ede5</id>
<content type='text'>
Since 'extern inline' doesn't work correctly in the context of the Linux
kernel (too many overriding defines), move the string functions to normal
lib/ assembly files (like the existing mem funcs).  This avoids the forced
inline all over the kernel and allows us to place them constantly in L1.

This also avoids some module failures when gcc inserts calls to string
functions but the kernel build system doesn't fully consult the library
archives.

Signed-off-by: Robin Getz &lt;robin.getz@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: convert to generic checksum code</title>
<updated>2009-12-15T05:13:32Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2009-06-13T11:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddf9ddacef0989fdeb22e182212a232488f0f3ad'/>
<id>urn:sha1:ddf9ddacef0989fdeb22e182212a232488f0f3ad</id>
<content type='text'>
The Blackfin port only implemented an optimized version of the
csum_tcpudp_nofold function, so convert everything else to the new
generic code.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: mass clean up of copyright/licensing info</title>
<updated>2009-10-07T08:36:26Z</updated>
<author>
<name>Robin Getz</name>
</author>
<published>2009-09-24T14:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96f1050d3df105c9ae6c6ac224f370199ea82fcd'/>
<id>urn:sha1:96f1050d3df105c9ae6c6ac224f370199ea82fcd</id>
<content type='text'>
Bill Gatliff &amp; David Brownell pointed out we were missing some
copyrights, and licensing terms in some of the files in
./arch/blackfin, so this fixes things, and cleans them up.

It also removes:
 - verbose GPL text(refer to the top level ./COPYING file)
 - file names (you are looking at the file)
 - bug url (it's in the ./MAINTAINERS file)
 - "or later" on GPL-2, when we did not have that right

It also allows some Blackfin-specific assembly files to be under a BSD
like license (for people to use them outside of Linux).

Signed-off-by: Robin Getz &lt;robin.getz@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: fix misnomer of some I-pipe helpers</title>
<updated>2009-09-17T01:28:30Z</updated>
<author>
<name>Philippe Gerum</name>
</author>
<published>2009-06-22T16:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9c7eb498ddce1f77536707398b6175696570e80'/>
<id>urn:sha1:b9c7eb498ddce1f77536707398b6175696570e80</id>
<content type='text'>
__ipipe_{stall, unstall}_root_raw() identifiers may leave the reader
under the impression that only the virtual state is affected by these
operations, which is wrong. Pick names following the convention used
throughout the interrupt pipeline code.

Signed-off-by: Philippe Gerum &lt;rpm@xenomai.org&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: fix miscompilation in lshrdi3</title>
<updated>2009-07-16T05:52:23Z</updated>
<author>
<name>Jie Zhang</name>
</author>
<published>2009-06-28T13:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8399a74f61c69c7d233924de3dd314ca0effa16a'/>
<id>urn:sha1:8399a74f61c69c7d233924de3dd314ca0effa16a</id>
<content type='text'>
The code used in the Blackfin lshrdi3 utilizes gcc constructs.  However,
the structures declared don't line up with the code gcc generates, so
under certain optimizations, we get bad code and things crap out in fun
random ways.  So rather than trying to maintain different gcc definitions
ourselves, just use the ones available in gcclib.h.

URL: http://blackfin.uclinux.org/gf/tracker/5286
Signed-off-by: Jie Zhang &lt;jie.zhang@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: export ip_compute_csum/csum_partial_copy_from_user symbols</title>
<updated>2009-06-13T11:20:06Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2009-06-05T16:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa286ba3aef7d1b78467313111a13888fb4c3a66'/>
<id>urn:sha1:aa286ba3aef7d1b78467313111a13888fb4c3a66</id>
<content type='text'>
All other arches do this, and some places like the net/scsi code will fail
as modules without them.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Blackfin: fix strncmp.o build error</title>
<updated>2009-05-27T04:27:05Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2009-05-26T09:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=add8a5050a52f1bd1be6b97be86fdd1cfbea2d1d'/>
<id>urn:sha1:add8a5050a52f1bd1be6b97be86fdd1cfbea2d1d</id>
<content type='text'>
Fix some more fallout of the string changes:

  CC      arch/blackfin/lib/strncmp.o
In file included from include/linux/bitmap.h:9,
                 from include/linux/nodemask.h:90,
                 from include/linux/mmzone.h:17,
                 from include/linux/gfp.h:5,
                 from include/linux/kmod.h:23,
                 from include/linux/module.h:14,
                 from arch/blackfin/lib/strncmp.c:14:
include/linux/string.h: In function ‘strstarts’:
include/linux/string.h:132: error: implicit declaration of function ‘strncmp’
make[1]: *** [arch/blackfin/lib/strncmp.o] Error 1

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
CC: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Blackfin arch: cleanup and unify the ins functions</title>
<updated>2009-01-07T15:14:38Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2009-01-07T15:14:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c250bfb93c046a789989af475ae18d08c61b4cfa'/>
<id>urn:sha1:c250bfb93c046a789989af475ae18d08c61b4cfa</id>
<content type='text'>
this also fixes some errors in the ipipe merge

Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>Blackfin arch:  merge adeos blackfin part to arch/blackfin/</title>
<updated>2009-01-07T15:14:39Z</updated>
<author>
<name>Yi Li</name>
</author>
<published>2009-01-07T15:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a01f230339321292cf065551f8cf55361052461'/>
<id>urn:sha1:6a01f230339321292cf065551f8cf55361052461</id>
<content type='text'>
[Mike Frysinger &lt;vapier.adi@gmail.com&gt;:
 - handle bf531/bf532/bf534/bf536 variants in ipipe.h
 - cleanup IPIPE logic for bfin_set_irq_handler()
 - cleanup ipipe asm code a bit and add missing ENDPROC()
 - simplify IPIPE code in trap_c
 - unify some of the IPIPE code and fix style
 - simplify DO_IRQ_L1 handling with ipipe code
 - revert IRQ_SW_INT# addition from ipipe merge
 - remove duplicate get_{c,s}clk() prototypes
]

Signed-off-by: Yi Li &lt;yi.li@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
</feed>
