Skip to contentSkip to conversation

serial console driver using release_irq()/setup_irq() on suspend/resume

DISCUSSION Jan Beulich 2 participants 2 messages Mar 17, 2011

lore
Share & tools
lore
#0 lore raw

Keir,

is there any particular reason this is being done this way, other than having made the change in 15259:35e38c9048c8 very simple? I'm asking because in general, with no modules, Xen ought to not need setup_irq() post-init (for release_irq() the serial driver is actually the only consumer), and after fiddling with request_irq() callers this is now the only one needing the function to be in .text.

Jan

#1 lore raw
Quoted 8 lines · Jan Beulich

Keir,

is there any particular reason this is being done this way, other than having made the change in 15259:35e38c9048c8 very simple? I'm asking because in general, with no modules, Xen ought to not need setup_irq() post-init (for release_irq() the serial driver is actually the only consumer), and after fiddling with request_irq() callers this is now the only one needing the function to be in .text.

I expect it was done that way for simplicity, so that resume looks like boot-time init. Feel free to mess with it and make a more customised streamlined resume path.

-- Keir

Quoted 2 lines

Jan