selftests: firmware: Use smaller dictionary for XZ compression
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Apr 2022 15:29:05 +0000 (17:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 06:51:16 +0000 (08:51 +0200)
commitb3625b1324a56ff1194734c9b84a51b05e14a419
treebf91ca7eb4735b93de1c87029c69732744b4b5f9
parent23cfbc6ec44e5e80d5522976ff45ffcdcddfb230
selftests: firmware: Use smaller dictionary for XZ compression

The xz -9 option leads to an unnecessarily too large dictionary that
isn't really suitable for the kernel firmware loader.  Pass the
dictionary size explicitly, instead.

While we're at it, make the xz command call defined in $RUN_XZ for
simplicity.

Fixes: 108ae07c5036 ("selftests: firmware: Add compressed firmware tests")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20220421152908.4718-3-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/fw_filesystem.sh