linux/drivers/platform/goldfish
Thomas Gleixner 6cf18e6927 goldfish: Sanitize the broken interrupt handler
This interrupt handler is broken in several ways:

  - It loops forever when the op code is not decodeable

  - It never returns IRQ_HANDLED because the only way to exit the loop
    returns IRQ_NONE unconditionally.

The whole concept of this is broken. Creating devices in an interrupt
handler is beyond any point of sanity.

Make it at least behave halfways sane so accidental users do not have to
deal with a hard to debug lockup.

Fixes: e809c22b8f ("goldfish: add the goldfish virtual bus")
Reported-by: Gabriel C <nix.or.die@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-15 08:49:58 -08:00
..
Kconfig goldfish: Fix build error of missing ioremap on UM 2016-03-05 12:33:58 -08:00
Makefile goldfish: refactor goldfish platform configs 2016-01-28 23:34:36 -08:00
goldfish_pipe.c platform: goldfish: pipe: use get_user_pages_unlocked() 2016-11-10 15:34:56 +01:00
pdev_bus.c goldfish: Sanitize the broken interrupt handler 2017-02-15 08:49:58 -08:00