Page MenuHomeFreeBSD
Feed Advanced Search

Aug 14 2015

jah committed rS286785: Reformat x86 bounce buffer synchronization code to reduce indentation. No….
Reformat x86 bounce buffer synchronization code to reduce indentation. No…
Aug 14 2015, 6:01 PM

Aug 7 2015

jah committed rS286411: Create man page for pmap_quick_enter_page(9) and pmap_quick_remove_page(9).
Create man page for pmap_quick_enter_page(9) and pmap_quick_remove_page(9)
Aug 7 2015, 12:13 PM
jah closed D3312: pmap_quick_enter_page.9 by committing rS286411: Create man page for pmap_quick_enter_page(9) and pmap_quick_remove_page(9).
Aug 7 2015, 12:13 PM

Aug 6 2015

jah updated the diff for D3312: pmap_quick_enter_page.9.

Fix problems noted by wblock

Aug 6 2015, 8:40 PM
jah updated the diff for D3312: pmap_quick_enter_page.9.

Fix lint warnings

Aug 6 2015, 3:48 PM
jah updated the diff for D3312: pmap_quick_enter_page.9.

Move each sentence to its own line

Aug 6 2015, 3:38 PM
jah updated the diff for D3312: pmap_quick_enter_page.9.

Fixing the bugs kib pointed out

Aug 6 2015, 2:56 PM
jah added reviewers for D3312: pmap_quick_enter_page.9: kib, wblock.
Aug 6 2015, 2:43 AM
jah retitled D3312: pmap_quick_enter_page.9 from to pmap_quick_enter_page.9.
Aug 6 2015, 2:41 AM

Aug 5 2015

jah committed rS286313: Properly sort the function declarations added in r286296.
Properly sort the function declarations added in r286296
Aug 5 2015, 10:48 AM

Aug 4 2015

jah committed rS286296: Add two new pmap functions:.
Add two new pmap functions:
Aug 4 2015, 7:46 PM
jah closed D3013: KPI for quick single-page mappings by committing rS286296: Add two new pmap functions:.
Aug 4 2015, 7:46 PM

Jul 7 2015

jah retitled D3014: Rough kmod for testing pmap_quick_enter_page/pmap_quick_remove_page from to Rough kmod for testing pmap_quick_enter_page/pmap_quick_remove_page.
Jul 7 2015, 4:12 PM
jah retitled D3013: KPI for quick single-page mappings from to KPI for quick single-page mappings.
Jul 7 2015, 4:10 PM

Jun 13 2015

jah added inline comments to D2744: Protect smbus ioctls in ig4 driver using a shared lock.
Jun 13 2015, 3:28 AM
jah added a comment to D2744: Protect smbus ioctls in ig4 driver using a shared lock.

I think it is possible for calls into the smbus interface to get interleaved right now. If they come from smb(4) ioctls, they could get interleaved because that driver does not hold its own sx like iic(4) does (and did even before r281828). But those calls could also be made by another driver directly calling something like smbus_bwrite(), without going through smb(4).

Jun 13 2015, 3:25 AM

May 15 2015

jah committed rS282969: Bump date for iic.4.
Bump date for iic.4
May 15 2015, 1:04 PM
jah committed rS282966: Update iic(4) man page to reflect recent changes.
Update iic(4) man page to reflect recent changes
May 15 2015, 12:28 PM
jah closed D2461: Update iic(4) man page to reflect recent changes by committing rS282966: Update iic(4) man page to reflect recent changes.
May 15 2015, 12:28 PM

May 6 2015

jah updated the diff for D2461: Update iic(4) man page to reflect recent changes.

Addressing wblock's feedback

May 6 2015, 7:38 PM
jah added reviewers for D2461: Update iic(4) man page to reflect recent changes: imp, wblock.
May 6 2015, 3:17 PM
jah retitled D2461: Update iic(4) man page to reflect recent changes from to Update iic(4) man page to reflect recent changes.
May 6 2015, 3:16 PM

Apr 21 2015

jah closed D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

Closed by commit rS281828 (authored by @jah).

Apr 21 2015, 11:50 AM

Apr 15 2015

jah added a comment to D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

@imp, @loos: can you guys look over this again as soon as you get a chance and see if you find it acceptable from an iic perspective?

Apr 15 2015, 6:34 PM

Apr 6 2015

jah updated the diff for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

addressing jhb's feedback:

  • looping on short writes
  • always using M_WAITOK
  • style(9) fixes
Apr 6 2015, 11:56 PM
jah added a reviewer for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus(): jhb.
Apr 6 2015, 9:20 PM
jah added a comment to D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().
Apr 6 2015, 8:53 PM

Apr 3 2015

jah added a comment to D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

imp, loos: can you guys look over this again when you have time?
I also need some clarification on Warner's comment about the lock.

Apr 3 2015, 3:13 PM
jah updated the diff for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

Change chunk size back to 128 bytes. That should still be OK to keep on the kernel stack. 32 might be too stingy for faster iic controllers.

Apr 3 2015, 3:09 PM

Mar 27 2015

jah updated the diff for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

--Shrink chunk size to 32 bytes (same as smbus blocksize), move buffer to stack
--Respect O_NONBLOCK for mallocs
--Document IICBUS_CALLBACK locking assumptions in iiconf.c and iicbus interface

Mar 27 2015, 12:27 PM

Mar 26 2015

jah added reviewers for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus(): imp, loos.
Mar 26 2015, 10:07 PM
jah added inline comments to D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().
Mar 26 2015, 4:28 PM
jah updated the diff for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

Remove stale comment

Mar 26 2015, 1:58 PM
jah updated the diff for D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().

Don't loop on EWOULDBLOCK.
I think we can deal with any fallout. There might be none.

Mar 26 2015, 1:49 PM
jah added a comment to D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().
In D2140#5, @loos wrote:

I agree with most of your changes (and thank you for tackling this), but maybe it is time to get rid of the busy loop on EWOULDBLOCK case.

EWOULDBLOCK could only happen when the caller request the iicbus with IIC_DONTWAIT, wouldn't be better to just return EWOULDBLOCK in this case ?

Then the caller could deal with retrying if necessary.

I think this would also make the lock dropping on iicbus_poll() unnecessary.

What do you think ?

Mar 26 2015, 12:20 AM

Mar 25 2015

jah retitled D2140: Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus() from to Attempt to fix race conditions and improve flexibility of iic(4), fix locking in iicbus_request_bus() and iicbus_release_bus().
Mar 25 2015, 5:00 PM