<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/cfi/cfi_disk.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-09-01T22:10:34Z</updated>
<entry>
<title>cfi: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T22:10:34Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T22:10:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=097958918887ebe5e1ce4ec515a164e939442ecb'/>
<id>urn:sha1:097958918887ebe5e1ce4ec515a164e939442ecb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ever since the block layer expanded its command syntax beyond just</title>
<updated>2020-02-07T09:22:08Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2020-02-07T09:22:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d176b8039e91164cd25271ff6191a4fb1a03fe97'/>
<id>urn:sha1:d176b8039e91164cd25271ff6191a4fb1a03fe97</id>
<content type='text'>
BIO_READ and BIO_WRITE, we've handled this expanded syntax poorly in
drivers when the driver doesn't support a particular command.  Do a
sweep and fix that.

Reported by:	imp
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>MFP4 217312, 222008, 222052, 222053, 222673, 231484, 231491, 231565, 570643</title>
<updated>2013-09-04T17:19:21Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2013-09-04T17:19:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f43581345bad430bbb7fc164d577edee19aac124'/>
<id>urn:sha1:f43581345bad430bbb7fc164d577edee19aac124</id>
<content type='text'>
Rework the timeout code to use actual time rather than a DELAY() loop and
to use both typical and maximum to allow logging of timeout failures.
Also correct the erase timeout, it is specified in milliseconds not
microseconds like the other timeouts.  Do not invoke DELAY() between
status queries as this adds significant latency which in turn reduced
write performance substantially.

Sanity check timeout values from the hardware.

Implement support for buffered writes (only enabled on Intel/Sharp parts
for now).  This yields an order of magnitude speedup on the 64MB Intel
StrataFlash parts we use.

When making a copy of the block to modify, also keep a clean copy around
until we are ready to commit the block and use it to avoid unnecessary
erases.  In the non-buffer write case, also use it to avoid
unnecessary writes when the block has not been erased.  This yields a
significant speedup when doing things like zeroing a block.

Sponsored by:	DARPA, AFRL
Reviewed by:	imp (previous version)
</content>
</entry>
<entry>
<title>Use direct custom implementations instead of g_handleattr() for CFI and NAND</title>
<updated>2013-06-12T12:51:43Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2013-06-12T12:51:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ce4bc82d197d8c3b7ff7f4cae17c82ce6d490227'/>
<id>urn:sha1:ce4bc82d197d8c3b7ff7f4cae17c82ce6d490227</id>
<content type='text'>
d_getattr().  Since these drivers use disk(9) KPI and not directly GEOM, use
of that function means KPI layering violation, causing extra g_io_deliver()
call for the request.
</content>
</entry>
<entry>
<title>MFP4 @222836</title>
<updated>2013-05-30T01:19:02Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2013-05-30T01:19:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=444e780150341dd02ad735ef7e30912db26e7a55'/>
<id>urn:sha1:444e780150341dd02ad735ef7e30912db26e7a55</id>
<content type='text'>
Add support for partitioning CFI disks from FDT using geom_flashmap.

Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>CFI fixes for big endian archs.</title>
<updated>2012-03-27T15:13:12Z</updated>
<author>
<name>Jayachandran C.</name>
<email>jchandra@FreeBSD.org</email>
</author>
<published>2012-03-27T15:13:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9c1f1330d6f9c75129f6cebf7f26882d3d2414c7'/>
<id>urn:sha1:9c1f1330d6f9c75129f6cebf7f26882d3d2414c7</id>
<content type='text'>
The flash commands and responses are little-endian and have to be
byte swapped on big-endian systems.  However the raw read of data
need not be swapped.

Make the cfi_read and cfi_write do the swapping, and provide a
cfi_read_raw which does not byte swap for reading data from
flash.
</content>
</entry>
<entry>
<title>choose the size of the last region for d_stripsize instead of the first;</title>
<updated>2009-03-10T22:29:42Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2009-03-10T22:29:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7bed4560f32f2b3b42e1c1b920d1a793e03c6d85'/>
<id>urn:sha1:7bed4560f32f2b3b42e1c1b920d1a793e03c6d85</id>
<content type='text'>
this fixes geom_redboot on boards that have multiple parts/regions as it
uses the value to locate the FIS directory which is in the last erase
region of flash
</content>
</entry>
<entry>
<title>Add cfid, a disk interface to CFI flash devices; this enables construction</title>
<updated>2009-03-09T23:16:02Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2009-03-09T23:16:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f2c6781bfd0205e45bf03f031c2baddf79c31e32'/>
<id>urn:sha1:f2c6781bfd0205e45bf03f031c2baddf79c31e32</id>
<content type='text'>
of flash-based filesystems.

Note this is not interlocked against the raw CFI device.
</content>
</entry>
</feed>
