# 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-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4ecd704a4c51fd95973fcc3a60444e0e24eb9439 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_44x_fsp2_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_44x_fsp2_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_44x_fsp2_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_44x_fsp2_defconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus_44x_fsp2_defconfig_powerpc-gcc11 # Build took: 0:02:35.060979