<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/twa, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-09-15T17:25:51Z</updated>
<entry>
<title>MFC r212008,212028,212210 the updated twa(4) driver minus maxio change</title>
<updated>2010-09-15T17:25:51Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-09-15T17:25:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=baa677ddfe223146254f599dfab61ea2a86f4fbb'/>
<id>urn:sha1:baa677ddfe223146254f599dfab61ea2a86f4fbb</id>
<content type='text'>
which depends on cam(4) revision r195534.

The change have been tested on stable/7 with 3ware 9650SE at iXsystems.
</content>
</entry>
<entry>
<title>MFC r209860:</title>
<updated>2010-07-09T20:43:57Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-07-09T20:43:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=30eab52b031429f2aa31711f45ce2cbcbb3f0fbb'/>
<id>urn:sha1:30eab52b031429f2aa31711f45ce2cbcbb3f0fbb</id>
<content type='text'>
Don't use pack() for structures that is used purely for software state.
Otherwise the resulting, unaligned mutex structure would trigger panic.

Submitted by:		Tom Cough &lt;tom.couch lsi.com&gt;
Reported/Tested by:	jhb
PR:			kern/148464
</content>
</entry>
<entry>
<title>MFC r208969,209268:</title>
<updated>2010-06-21T22:20:52Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-06-21T22:20:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b0218f997c4f2f6736931a97dd42e532c3b5a09'/>
<id>urn:sha1:8b0218f997c4f2f6736931a97dd42e532c3b5a09</id>
<content type='text'>
Driver update of twa(4) from LSI.  Many thanks to LSI for continuing to
support FreeBSD.

  1) Timeout ioctl command timeouts.
       Do not reset the controller if ioctl command completed
       successfully.
  2) Remove G66_WORKAROUND code (this bug never shipped).
  3) Remove unnecessary interrupt lock (intr_lock).
  4) Timeout firmware handshake for PChip reset (don't wait forever).
  5) Handle interrupts inline.
  6) Unmask command interrupt ONLY when adding a command to the pending
     queue.
  7) Mask command interrupt ONLY after removing the last command from
     the pending queue.
  8) Remove TW_OSLI_DEFERRED_INTR_USED code.
  9) Replace controller "state" with separate data fields to avoid races:

       TW_CLI_CTLR_STATE_ACTIVE                     ctlr-&gt;active
       TW_CLI_CTLR_STATE_INTR_ENABLED               ctlr-&gt;interrupts_enabled
       TW_CLI_CTLR_STATE_INTERNAL_REQ_BUSY          ctlr-&gt;internal_req_busy
       TW_CLI_CTLR_STATE_GET_MORE_AENS              ctlr-&gt;get_more_aens
       TW_CLI_CTLR_STATE_RESET_IN_PROGRESS          ctlr-&gt;reset_in_progress
       TW_CLI_CTLR_STATE_RESET_PHASE1_IN_PROGRESS   ctlr-&gt;reset_phase1_in_progress

 10) Fix "req" leak in twa_action() when simq is frozen and req is NOT
     null.
 11) Replace softc "state" with separate data fields to avoid races:
       TW_OSLI_CTLR_STATE_OPEN                      sc-&gt;open
       TW_OSLI_CTLR_STATE_SIMQ_FROZEN               sc-&gt;simq_frozen
 12) Fix reference to TW_OSLI_REQ_FLAGS_IN_PROGRESS in
     tw_osl_complete_passthru()
 13) Use correct CAM status values.
       Change CAM_REQ_CMP_ERR to CAM_REQ_INVALID.
       Remove use of CAM_RELEASE_SIMQ for physical data addresses.
 14) Do not freeze/ release the simq with non I/O commands.
       When it is appropriate to temporarily freeze the simq with an I/O
       command use:
         xpt_freeze_simq(sim, 1);
         ccb-&gt;ccb_h.status |= CAM_RELEASE_SIMQ;
       otherwise use:
         xpt_freeze_simq(sim, 1);
         xpt_release_simq(sim, 1);

Submitted by:	Tom Couch &lt;tom.couch lsi.com&gt;
PR:		kern/147694
</content>
</entry>
<entry>
<title>MFC: Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB</title>
<updated>2009-03-30T18:43:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-03-30T18:43:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2559cfd2a2cb8437f52cf1f2af341519770b1c62'/>
<id>urn:sha1:2559cfd2a2cb8437f52cf1f2af341519770b1c62</id>
<content type='text'>
to prevent individual transactions from crossing a 4GB address boundary.
Due to bus_size_t type limitations, the driver uses a 2GB boundary in PAE
kernels.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC r183660: Limit DMA memory to lower addressable 4GB, without</title>
<updated>2008-10-14T19:02:47Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2008-10-14T19:02:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=db5a9adcaf0d18da4792a97d9fce675fb26691e5'/>
<id>urn:sha1:db5a9adcaf0d18da4792a97d9fce675fb26691e5</id>
<content type='text'>
this patch, we can reliably provoke data corruption on systems
equipped with a plenty of memory during high load.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Merge rev 1.6: Disable defered interrupt processing.  There are reports that</title>
<updated>2007-10-19T15:21:16Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-10-19T15:21:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2fb50104d4f5eb069625748ecc4e865fe4704de8'/>
<id>urn:sha1:2fb50104d4f5eb069625748ecc4e865fe4704de8</id>
<content type='text'>
this feature still works with the 4BSD scheduler, but I'm disabling it anyways
for the sake of safety.

Approved by: re
</content>
</entry>
<entry>
<title>Update to version 3.70.03.007 from the vendor.  This adds support for new</title>
<updated>2007-10-09T17:43:57Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-10-09T17:43:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4820cd2f633f432d6c01e5c086355a69b82a20b'/>
<id>urn:sha1:a4820cd2f633f432d6c01e5c086355a69b82a20b</id>
<content type='text'>
SAS-enabled cards.  It also makes the driver MPSAFE, eliminating some
problems that resulted from CAM becoming MPSAFE.  Many thanks to 3Ware/AMCC
for continuing to support FreeBSD.

Submitted by: Manjunath Ranganathaiah
Approved by: re
</content>
</entry>
<entry>
<title>Prepare for future integration between CAM and newbus.  xpt_bus_register</title>
<updated>2007-06-17T05:55:54Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-06-17T05:55:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b50569b71dfb110a58aa3e83f629115291802a74'/>
<id>urn:sha1:b50569b71dfb110a58aa3e83f629115291802a74</id>
<content type='text'>
now takes a device_t to be the parent of the bus that is being created.
Most SIMs have been updated with a reasonable argument, but a few exceptions
just pass NULL for now.  This argument isn't used yet and the newbus
integration likely won't be ready until after 7.0-RELEASE.
</content>
</entry>
<entry>
<title>Minor update to version 3.70.03.007</title>
<updated>2007-05-19T10:12:58Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-05-19T10:12:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=40ca137bbd72ef50ca34c1c3b2558b2328d78805'/>
<id>urn:sha1:40ca137bbd72ef50ca34c1c3b2558b2328d78805</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The version string scheme embeds the freebsd major release version,</title>
<updated>2007-05-10T15:36:58Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-05-10T15:36:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4d190d01aba4aec1676ab570e73b8efeefaba7e8'/>
<id>urn:sha1:4d190d01aba4aec1676ab570e73b8efeefaba7e8</id>
<content type='text'>
something that I wasn't aware of with the last import.  Adjust the
string accordingly for 7-CURRENT.
</content>
</entry>
</feed>
