[v1-virq] pirq2virq mapping and working with sp804

Addressed last comments.