Home
last modified time | relevance | path

Searched hist:c6c27e3d84648e6188fba314ae21a005e60bdcd4 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A DMakefilediff c6c27e3d84648e6188fba314ae21a005e60bdcd4 Wed Jun 23 00:17:46 CDT 2021 Haren Myneni <haren@linux.ibm.com> selftests/powerpc: Use req_max_processed_len from sysfs NX capabilities

On PowerVM, the hypervisor defines the maximum buffer length for
each NX request and the kernel exported this value via sysfs.

This patch reads this value if the sysfs entry is available and
is used to limit the request length.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ed908341b1eb7ca0183c028a4ed4a0cf48bfe0f6.camel@linux.ibm.com
H A Dgzfht_test.cdiff c6c27e3d84648e6188fba314ae21a005e60bdcd4 Wed Jun 23 00:17:46 CDT 2021 Haren Myneni <haren@linux.ibm.com> selftests/powerpc: Use req_max_processed_len from sysfs NX capabilities

On PowerVM, the hypervisor defines the maximum buffer length for
each NX request and the kernel exported this value via sysfs.

This patch reads this value if the sysfs entry is available and
is used to limit the request length.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ed908341b1eb7ca0183c028a4ed4a0cf48bfe0f6.camel@linux.ibm.com