mbox series

[v2,0/8] limit passing around of cpu_user_regs

Message ID 33db57a2-b569-4fa8-b0b0-36ea92528d7b@suse.com (mailing list archive)
Headers show
Series limit passing around of cpu_user_regs | expand

Message

Jan Beulich Jan. 22, 2024, 1:45 p.m. UTC
Unlike (synchronous) exception handlers, interrupt handlers don't normally
have a need to know the outer context's register state. Similarly, the vast
majority of key handlers has no need for such.

1: IRQ: generalize [gs]et_irq_regs()
2: serial: fake IRQ-regs context in poll handlers
3: keyhandler: drop regs parameter from handle_keyregs()
4: serial: drop serial_rx_fn's regs parameter
5: PV-shim: drop pv_console_rx()'s regs parameter
6: serial: drop serial_[rt]x_interrupt()'s regs parameter
7: IRQ: drop regs parameter from handler functions
8: x86/APIC: drop regs parameter from direct vector handler functions

Jan