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)
commit44d9a21a19bd40c063a9a7ae823ec570f9ea4850
treef7cd16d0cef8e717e6f5ad7ac76a160572df6df9
parentf86991b3a95ab245510ccd111926d1f40ae13b91
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