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
9 lines
177 B
Makefile
9 lines
177 B
Makefile
CFLAGS = -O3 -m64 -I./include -I../include
|
|
|
|
TEST_GEN_FILES := gzfht_test gunz_test
|
|
TEST_PROGS := nx-gzip-test.sh
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_FILES): gzip_vas.c ../utils.c
|