serial console driver using release_irq()/setup_irq() on suspend/resume
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
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 (forrelease_irq()the serial driver is actually the only consumer), and after fiddling withrequest_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