]> 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)
commit18befc47d608c55dcae1567613620a3b4be2913e
treef7cd16d0cef8e717e6f5ad7ac76a160572df6df9
parenta55bb74e60560bd61366128bdd5765ba2c3aea45
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