OpenSolaris

You are not signed in. Sign in or register.

Heads-Up: x86 rootnex changes

Date: Fri, 09 Sep 2005 11:45:03 -0400
From: Mark Johnson <mark dot johnson at sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com
Subject: Heads-Up: x86 rootnex changes



This heads-up only applies to x86/x64 machines.

My recent putback of:

4699148 some ddivs_dmae assertions FAIL due to ddi_dma* (9f,s) product or manpages bugs
4739176 ddi_dma_sync.9f (ddi_dma_sync()) interface differ from one described in manpage
6213398 x86 rootnex ignores offset and size on ddi_dma_sync()
6218329 rootnex_io_brkup_attr can pass negative segment sizes to rootnex_get_phyaddr
6262957 x86 rootnex should pre-allocate some cookies for performance
6262959 x86 rootnex causes a lot of xcalls when using copy buffers
6264169 x86 rootnex dma routines need cleanup
6288756 Opteron kernel leaks memory and DMA resources when ddi_dma_addr_bind_handle() fails.
6291263 In the i86pc rootnex module, INT_MAX_BUF should be bigger (at least MMU_PAGESIZE byes bigger).

makes some considerable changes to the x86 rootnex DDI DMA routines. Although
the changes have been very well tested, it is still possible that a couple of
drivers could break due to either a bug introduced in the x86 rootnex dma
routines or a previously undetected driver bug which is now caught by the ddi
dma routines.

If you have a system that you believe runs into problems with these bits,
please contact me at your earliest convenience. I'll be available all weekend.
You can reach me at the following:
   e-mail:     mark dot johnson at sun dot com
   extension:  x20869
   cell phone: 603-566-4364

For developers, I've added some additional visibility via dtrace to the
x86 DDI DMA routines. For now, I have a hacked up dtrace trace script
that you can play with. Suggestions welcome.
    http://jurassic.eng/~mrj/dma/dmainfo.d

In the next couple of weeks, I'll post a blog entry or two on how use the dma
dtrace info and a walk through on how to debug x86 ddi dma bind operations with
mdb.


MRJ




-- 
Mark Johnson <mark dot johnson at sun dot com>
  http://blogs.sun.com/roller/page/mrj
  (781) 442-0869