]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/uvdevice: Support longer secret lists
authorSteffen Eiden <seiden@linux.ibm.com>
Mon, 4 Nov 2024 15:36:09 +0000 (16:36 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 7 Nov 2024 09:37:00 +0000 (10:37 +0100)
commit3fad3bdac4de581a09285d89fd49c81ab1d6af73
treedac7d2fcd47581bdf7978897a0e1b2d23ccf6dc9
parente89204070dac190bb38d4e4e87c9a0c88664f385
s390/uvdevice: Support longer secret lists

Enable the list IOCTL to provide lists longer than one page (85 entries).
The list IOCTL now accepts any argument length in page granularity.
It fills the argument up to this length with entries until the list
ends. User space unaware of this enhancement will still receive one page
of data and an uv_rc 0x0100.

Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20241104153609.1361388-1-seiden@linux.ibm.com
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20241104153609.1361388-1-seiden@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/uvdevice.c