• Andy Walls's avatar
    V4L/DVB (9720): cx18: Major rewrite of interrupt handling for incoming mailbox processing · ee2d64f5
    Andy Walls authored
    A major rewrite of interrupt handling for incoming mailbox processing, to split
    the timing critical steps from the the deferrable steps as the sending XPU on
    the CX23418 will time out and overwrite our incoming mailboxes rather quickly.
    Setup a pool of work "order forms" for the irq handler to send jobs to the new
    work handler routine which uses the kernel default work queue to do the
    deferrable work.  Started optimizing some of the cx18-io calls as they are now
    the low hanging fruit for recoving microseconds back from the timeline.
    Future optimizations will get rid of mmio read retries, mmio stats logging, and
    combine smaller functions in the irq path into the larger ones to save ~2 us
    each.
    Signed-off-by: default avatarAndy Walls <awalls@radix.net>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    ee2d64f5
cx18-mailbox.h 3.41 KB