[Cbe-oss-dev] [PATCH 9:11] spufs: fix access mechanism for problem state registers [take 2]

Kazunori Asayama asayama at sm.sony.co.jp
Tue May 27 12:34:02 EST 2008


Luke Browning wrote:
> Fix access mechanism for problem state registers
> 
> The current mechanism for providing access to problem state registers
> is broken because it relies on the application to invoke spu_run for 
> the target context.  This is convenient and it works most of the time
> as the library is repeatedly driving spu_run to redrive the context
> after processing an spu exception or event.  But, it is wrong as it
> assumes that there will be another spu error or exception for the
> target context.  There may or may not be.  It is also not desirable
> from a performance perspective as it introduces delays into the 
> application.  This patch activates the context in spufs_ps_nopfn
> regardless of whether the target context is in kernel mode or user
> mode.
> 
> Signed-off-by: Luke Browning <lukebrowning at us.ibm.com>
> 
> ---
> 
> This replaces the previous version of this patch.
> Tested against libspe2.mfc test.

The problem I reported in my previous message still exists:

   http://ozlabs.org/pipermail/cbe-oss-dev/2008-May/004837.html

-- 
(ASAYAMA Kazunori
   (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list