# git rev-parse -q --verify 4ecd704a4c51fd95973fcc3a60444e0e24eb9439^{commit} 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 already have revision, skipping fetch # git checkout -q -f -B kisskb 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 # git clean -qxdf # < git log -1 # commit 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 # Author: Lino Sanfilippo # Date: Tue May 30 18:41:16 2023 +0200 # # tpm, tpm_tis: correct tpm_tis_flags enumeration values # # With commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test # for interrupts") bit accessor functions are used to access flags in # tpm_tis_data->flags. # # However these functions expect bit numbers, while the flags are defined # as bit masks in enum tpm_tis_flag. # # Fix this inconsistency by using numbers instead of masks also for the # flags in the enum. # # Reported-by: Pavel Machek # Fixes: 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts") # Signed-off-by: Lino Sanfilippo # Cc: stable@vger.kernel.org # Reviewed-by: Pavel Machek # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 # < make -s -j 160 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux- allnoconfig # < make -s -j 160 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 160 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 160 ARCH=xtensa O=/kisskb/build/linus_xtensa-allnoconfig_xtensa-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/xtensa-linux/bin/xtensa-linux- Completed OK # rm -rf /kisskb/build/linus_xtensa-allnoconfig_xtensa-gcc8 # Build took: 0:01:12.036728