#6010 HIGH Update.: The EC SCI mask should be set in "sleep" mode.

Zarro Boogs per Child bugtracker at laptop.org
Fri Jun 13 14:14:53 EDT 2008


#6010: The EC SCI mask should be set in "sleep" mode.
---------------------+------------------------------------------------------
  Reporter:  cjb     |       Owner:  dsaxena         
      Type:  defect  |      Status:  assigned        
  Priority:  high    |   Milestone:  Update.2 (8.2.0)
 Component:  kernel  |     Version:                  
Resolution:          |    Keywords:                  
  Verified:  0       |    Blocking:  5974            
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by pgf):

 Replying to [comment:12 dsaxena]:

 > A sysfs one-file-per-bit interface guarantee an atomic update of the
 mask via a read/write lock.

 but how would you guarantee an atomic update of several bits at once?  but
 perhaps that's not necessary in this case.

 >
 > I've gone ahead and implemented the sysfs interface as this as it was
 fairly trivial; however, I'm wondering if in the long-run it may be better
 to not use sysfs and instead provide a full EC driver of some sort that
 exposes the EC interface to user space to do with it as it pleases.

 that needs to be balanced against possible future platform needs.  as has
 been said, sysfs does make future compatibility more likely, though at
 some cost.

-- 
Ticket URL: <http://dev.laptop.org/ticket/6010#comment:13>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list