x86/irq: Use proper locking in check_irq_vectors_for_cpu_disable()
x86/irq: Use proper locking in check_irq_vectors_for_cpu_disable()

It's unsafe to examine fields in the irq descriptor w/o holding the
descriptor lock. Add proper locking.

While at it add a comment why the vector check can run lock less

Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>
Cc: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>
Cc: xiao jin <48a198def0f21664e558e5b3d0e0635a55586a3b@intel.com>
Cc: Joerg Roedel <61aff96566804ea1da8a65de5bcc892ce07caceb@suse.de>
Cc: Borislav Petkov <0691a664b24b6f15b20cd5aee64b72271db08be1@suse.de>
Cc: Yanmin Zhang <232a135a0093779c691103f08ca7218045d46eb9@linux.intel.com>
Link: 4c64cc67bac60b12a1d5384babceb0f5c1a4c108@linutronix.de

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs