Skip to content

limit passing around of cpu_user_regs

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 8 patches 1 replyIn review

4 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8limit passing around of cpu_user_regsxen/common/keyhandler.c xen/drivers/char/console.c xen/include/xen/keyhandler.h+26 -210 replies
2/8IRQ: drop register parameter from handler functionsxen/arch/arm/gic.c xen/arch/arm/irq.c xen/arch/arm/time.c +18 more+30 -460 replies
3/8serial: drop serial_rx_fn's regs parameterxen/drivers/char/console.c xen/drivers/char/serial.c xen/drivers/char/xen_pv_console.c +1 more+8 -80 replies
4/8PV-shim: drop pv_console_rx()'s regs parameterxen/arch/x86/guest/xen/xen.c xen/drivers/char/xen_pv_console.c xen/include/xen/pv_console.h+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] limit passing around of cpu_user_regs

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: keyhandler: don't pass cpu_user_regs around
2: IRQ: generalize [gs]et_irq_regs()
3: serial: drop serial_rx_fn's regs parameter
4: PV-shim: drop pv_console_rx()'s regs parameter
5: serial: drop serial_[rt]x_interrupt()'s regs parameter 6: IRQ: drop regs parameter from handler functions
7: x86/vPMU: drop regs parameter from interrupt functions 8: x86/APIC: drop regs parameter from direct vector handler functions

Jan