# git rev-parse -q --verify 87d044096ea62f1f230e8c4679ee8abf03266f64^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/crypto master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 87d044096ea62f1f230e8c4679ee8abf03266f64^{commit} 87d044096ea62f1f230e8c4679ee8abf03266f64 # git checkout -q -f -B kisskb 87d044096ea62f1f230e8c4679ee8abf03266f64 # git clean -qxdf # < git log -1 # commit 87d044096ea62f1f230e8c4679ee8abf03266f64 # Author: Tom Lendacky # Date: Mon Jun 13 14:16:27 2022 -0500 # # crypto: ccp - Fix device IRQ counting by using platform_irq_count() # # The ccp driver loops through the platform device resources array to get # the IRQ count for the device. With commit a1a2b7125e10 ("of/platform: Drop # static setup of IRQ resource from DT core"), the IRQ resources are no # longer stored in the platform device resource array. As a result, the IRQ # count is now always zero. This causes the driver to issue a second call to # platform_get_irq(), which fails if the IRQ count is really 1, causing the # loading of the driver to fail. # # Replace looping through the resources array to count the number of IRQs # with a call to platform_irq_count(). # # Fixes: a1a2b7125e10 ("of/platform: Drop static setup of IRQ resource from DT core") # Signed-off-by: Tom Lendacky # Reviewed-by: Rob Herring # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 87d044096ea62f1f230e8c4679ee8abf03266f64 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc11 # Build took: 0:00:23.940869