diff options
author | Juergen Gross <jgross@suse.com> | 2020-09-07 15:47:28 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2020-10-20 10:22:04 +0200 |
commit | 86991b6e7ea6c613b7692f65106076943449b6b7 (patch) | |
tree | 8a1772d036b8ac3c3e916762b3710e085a21ebcd /drivers/cpufreq/speedstep-lib.h | |
parent | 23025393dbeb3b8b3b60ebfa724cdae384992e27 (diff) |
xen/scsiback: use lateeoi irq binding
In order to reduce the chance for the system becoming unresponsive due
to event storms triggered by a misbehaving scsifront use the lateeoi
irq binding for scsiback and unmask the event channel only just before
leaving the event handling function.
In case of a ring protocol error don't issue an EOI in order to avoid
the possibility to use that for producing an event storm. This at once
will result in no further call of scsiback_irq_fn(), so the ring_error
struct member can be dropped and scsiback_do_cmd_fn() can signal the
protocol error via a negative return value.
This is part of XSA-332.
Cc: stable@vger.kernel.org
Reported-by: Julien Grall <julien@xen.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
Diffstat (limited to 'drivers/cpufreq/speedstep-lib.h')
0 files changed, 0 insertions, 0 deletions