<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/conf/files.mips, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-12-31T03:57:24Z</updated>
<entry>
<title>mips: Remove sys/mips</title>
<updated>2021-12-31T03:57:24Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2021-12-31T03:56:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c09981f1422ef0d44042dacc5d1265392fba39f1'/>
<id>urn:sha1:c09981f1422ef0d44042dacc5d1265392fba39f1</id>
<content type='text'>
Remove sys/mips as the next step of decomissioning mips from the tree.
Remove mips special cases from the kernel make files. Remove the mips
specific linker scripts.

Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>netinet: Deduplicate most in_cksum() implementations</title>
<updated>2021-11-24T18:31:16Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-11-24T18:19:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ecbbe831445a4b94279e5932828d60076e4ca444'/>
<id>urn:sha1:ecbbe831445a4b94279e5932828d60076e4ca444</id>
<content type='text'>
in_cksum() and related routines are implemented separately for each
platform, but only i386 and arm have optimized versions.  Other
platforms' copies of in_cksum.c are identical except for style
differences and support for big-endian CPUs.

Deduplicate the implementations for the rest of the platforms.  This
will make it easier to implement in_cksum() for unmapped mbufs.  On arm
and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is
not to be compiled.

No functional change intended.

Reviewed by:	kp, glebius
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33095
</content>
</entry>
<entry>
<title>Rename ofwpci.c to ofw_pcib.c</title>
<updated>2021-05-20T09:22:25Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2021-05-19T15:27:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=240429103cd05bcecb20fbfd8310cf3faff39681'/>
<id>urn:sha1:240429103cd05bcecb20fbfd8310cf3faff39681</id>
<content type='text'>
It's a class0 driver that implements some pcib methods and creates
a pci bus as its children.
The "ofw_pci" name will be used by a new driver that will be a subclass
of the pci bus.
No functional changes intended.

Submitted by: Kornel Duleba &lt;mindal@semihalf.com&gt;
Reviewed by: andrew
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D30226
</content>
</entry>
<entry>
<title>amd64: implement strlen in assembly</title>
<updated>2021-02-08T19:15:21Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2021-02-08T17:01:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af366d353b84bdc4e730f0fc563853abc338271c'/>
<id>urn:sha1:af366d353b84bdc4e730f0fc563853abc338271c</id>
<content type='text'>
The C variant in libkern performs excessive branching to find the
non-zero byte instead of using the bsfq instruction. The same code
patched to use it is still slower than the routine implemented here
as the compiler keeps neglecting to perform certain optimizations
(like using leaq).

On top of that the routine can is a starting point for copyinstr
which operates on words instead of bytes.

Tested with glibc test suite.

Sample results (calls/s):

Haswell:
$(perl -e "print 'A' x 3"):
stock:	211198039
patched:338626619
asm:	465609618

$(perl -e "print 'A' x 100"):
stock:	 83151997
patched: 98285919
asm:	120719888

AMD EPYC 7R32:
$(perl -e "print 'A' x 3"):
stock:	282523617
asm:	491498172

$(perl -e "print 'A' x 100"):
stock:	114857172
asm:	112082057
</content>
</entry>
<entry>
<title>Move kern_clocksource.c to sys/conf/files</title>
<updated>2020-11-19T02:53:29Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-11-19T02:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e58ec0123d31b31ff0dd0857cefea2ce11d49d9'/>
<id>urn:sha1:2e58ec0123d31b31ff0dd0857cefea2ce11d49d9</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Remove support for DES and Triple DES from OCF.</title>
<updated>2020-05-11T21:34:29Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-05-11T21:34:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e00c709d7f1cdaeb584d244df9534bcdd0ac527'/>
<id>urn:sha1:0e00c709d7f1cdaeb584d244df9534bcdd0ac527</id>
<content type='text'>
It no longer has any in-kernel consumers via OCF.  smbfs still uses
single DES directly, so sys/crypto/des remains for that use case.

Reviewed by:	cem
Relnotes:	yes
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D24773
</content>
</entry>
<entry>
<title>Remove support for the Blowfish algorithm from OCF.</title>
<updated>2020-05-11T21:24:05Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-05-11T21:24:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32075647ef7fedb53479d3872960d9ae40e86491'/>
<id>urn:sha1:32075647ef7fedb53479d3872960d9ae40e86491</id>
<content type='text'>
It no longer has any in-kernel consumers.

Reviewed by:	cem
Relnotes:	yes
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D24772
</content>
</entry>
<entry>
<title>[PowerPC] [MIPS] Implement 32-bit kernel emulation of atomic64 operations</title>
<updated>2020-01-02T23:20:37Z</updated>
<author>
<name>Brandon Bergren</name>
<email>bdragon@FreeBSD.org</email>
</author>
<published>2020-01-02T23:20:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9aafc7c0523456c8b5ee8919c97f75277cf4d70b'/>
<id>urn:sha1:9aafc7c0523456c8b5ee8919c97f75277cf4d70b</id>
<content type='text'>
This is a lock-based emulation of 64-bit atomics for kernel use, split off
from an earlier patch by jhibbits.

This is needed to unblock future improvements that reduce the need for
locking on 64-bit platforms by using atomic updates.

The implementation allows for future integration with userland atomic64,
but as that implies going through sysarch for every use, the current
status quo of userland doing its own locking may be for the best.

Submitted by:	jhibbits (original patch), kevans (mips bits)
Reviewed by:	jhibbits, jeff, kevans
Differential Revision:	https://reviews.freebsd.org/D22976
</content>
</entry>
<entry>
<title>Add support for BERI statcounters.</title>
<updated>2019-09-18T16:13:50Z</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2019-09-18T16:13:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=230754ccca858fb50dd64cc6c013f679d9a60dfe'/>
<id>urn:sha1:230754ccca858fb50dd64cc6c013f679d9a60dfe</id>
<content type='text'>
BERI stands for Bluespec Extensible RISC Implementation, based on MIPS.

BERI has not implemented standard MIPS perfomance monitoring counters,
instead it provides statistical counters.

BERI statcounters have a several limitations:
- They can't be written
- They don't support start/stop operation
- None of hardware interrupt is provided on a counter overflow.

So make it separate to hwpmc_mips module and support process/system
counting mode only.

Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>Move scterm_teken.c from 6 MD files lists to the MI files list so that it</title>
<updated>2019-02-21T17:31:33Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2019-02-21T17:31:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61ebc359caebdc1fe0411ddf1309049f9fe67d76'/>
<id>urn:sha1:61ebc359caebdc1fe0411ddf1309049f9fe67d76</id>
<content type='text'>
is easier to configure.  It is MI, unlike some of the other syscons files
already in the MI list.

Move scvtb.c similarly.  It is needed whenever sc is configured, and is
more MI than most of the files already in the MI list.

This only changes the combined list for arm64 and mips.  These arches
already cannot build sc or even NOTES.
</content>
</entry>
</feed>
