]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 18 Oct 2022 11:48:34 +0000 (13:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 14:56:54 +0000 (23:56 +0900)
commit41763337b2caed21238c1575bf5f7d4fc351598c
tree81591eee3dc0a4b1ae2d4c5d7dc90cd224f5f97a
parente940600b4ed0cc04e589a8f15c8fdf647e2da4c4
s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()

commit 9fae7961f3bb6c20db54903302a6cb45ca6880cf upstream.

For some exception types the instruction address points behind the
instruction that caused the exception. Take that into account and add
the missing exception table entry.

Cc: <stable@vger.kernel.org>
Fixes: 5fde3e0435bb ("s390/pci: Fix s390_mmio_read/write with MIO")
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/pci/pci_mmio.c