Re: [PATCH 1/2] gic: Add functions to save and restore gic state

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Walleij
Date: Tuesday, October 5, 2010 - 7:04 am

Colin Cross wrote:


Nice!


For gic_dist_save()/gic_dist_restore() can you write some
comment to each function about the implicit semantics for
calling them?

If I *guess* correctly gic_dist_save() must be called in
something like a platform idle function after disabling all
IRQs but before sleeping, conversely gic_dist_restort()
must be called after sleeping but before re-enabling the
IRQs.

Apart from that it looks good to me so with this
simple comment-fix it's:
Acked-by: Linus Walleij <linus.walleij@stericsson.com>

Yours,
Linus Walleij
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] gic: Export irq chip functions, Colin Cross, (Thu Sep 30, 7:48 pm)
Re: [PATCH 2/2] gic: Export irq chip functions, Linus Walleij, (Sat Oct 2, 11:03 am)
Re: [PATCH 2/2] gic: Export irq chip functions, Colin Cross, (Sat Oct 2, 1:21 pm)
Re: [PATCH 1/2] gic: Add functions to save and restore gic ..., Linus Walleij, (Tue Oct 5, 7:04 am)