summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu.c
diff options
context:
space:
mode:
authorStefan Haberland <sth@linux.vnet.ibm.com>2017-10-26 14:37:35 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-12-05 07:51:08 +0100
commitda340f921d3454f1521671c7a5a43ad3331fbe50 (patch)
tree457a7da246551a6cdfcb1100f192dd000a2c9d09 /drivers/iommu/fsl_pamu.c
parentfbbd7f1a51965b50dd12924841da0d478f3da71b (diff)
downloadlinux-da340f921d3454f1521671c7a5a43ad3331fbe50.tar.bz2
s390/dasd: prevent prefix I/O error
Prevent that a prefix flag is set based on invalid configuration data. The validity.verify_base flag should only be set for alias devices. Usually the unit address type is either one of base, PAV alias or HyperPAV alias. But in cases where the unit address type is not set or any other value the validity.verify_base flag might be set as well. This would lead to follow on errors. Explicitly check for alias devices and set the validity flag only for them. Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/iommu/fsl_pamu.c')
0 files changed, 0 insertions, 0 deletions