kernel-fxtec-pro1x/drivers/s390
Cornelia Huck 04727e685a s390/cio: avoid duplicated 'ADD' uevents
[ Upstream commit 05ce3e53f375295c2940390b2b429e506e07655c ]

The common I/O layer delays the ADD uevent for subchannels and
delegates generating this uevent to the individual subchannel
drivers. The io_subchannel driver will do so when the associated
ccw_device has been registered -- but unconditionally, so more
ADD uevents will be generated if a subchannel has been unbound
from the io_subchannel driver and later rebound.

To fix this, only generate the ADD event if uevents were still
suppressed for the device.

Fixes: fa1a8c23eb ("s390: cio: Delay uevents for subchannels")
Message-Id: <20200327124503.9794-2-cohuck@redhat.com>
Reported-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-29 16:31:13 +02:00
..
block s390/dasd: fix memleak in path handling error case 2020-01-12 12:17:22 +01:00
char s390/kasan: avoid instrumentation of early C code 2019-11-24 08:20:44 +01:00
cio s390/cio: avoid duplicated 'ADD' uevents 2020-04-29 16:31:13 +02:00
crypto s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:42:13 +01:00
net s390/qeth: handle error when backing RX buffer 2020-04-02 15:28:15 +02:00
scsi scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point 2020-04-17 10:48:50 +02:00
virtio virtio/s390: fix race on airq_areas[] 2019-09-16 08:22:23 +02:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00