]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: consolidate QIB code
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 26 Jul 2021 06:25:41 +0000 (08:25 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 18 Aug 2021 08:01:28 +0000 (10:01 +0200)
commite6f5f6bebc2b320eebbdd0e01588af1a057dcdc8
treef7cd16d0cef8e717e6f5ad7ac76a160572df6df9
parent02e211ebb025a8801cdeb49116b1ba0a66a60a5b
s390/qdio: consolidate QIB code

Move all QIB-related code into qdio_setup_qib(), and slightly re-order
it according to the order of the struct's fields. This makes it easier
to understand what the QIB actually looks like before we send it to HW.

Also get rid of the qebsm_possible() helper - as 31-bit support is long
gone, the comment doesn't make any sense. And while removing some stale
QIB-related comment, also move the clearing of the QDR into its proper
place.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio_setup.c