After updating to 5.17, the input from the accelerometer disappeared, completely. No devices available from IIO tree. First bad commit causing it is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/hid/amd-sfh-hid/amd_sfh_pcie.c?id=b300667b33b2b5a2c8e5f8f22826befb3d7f4f2b. Reverting this and the the other two on top fixed this. Tried to not revert only the above mentioned commit, but it's still not working.
Created attachment 300689 [details]
Logs from stock arch kernel
Created attachment 300690 [details]
Custom not reverted kernel logs
Created attachment 300691 [details]
Custom and reverted kernel logs
I've added three dmesg and monitor-sensor output from the stock 5.17.1 kernel from arch, one custom zen patched kernel with identical configuration with and without the three aforementioned patches applied. The accelerometer data is present only in the reverted custom patches, as seen from the monitor-sensor logs.
Please close this BIOS/firmware bug and find ASUS BIOS details for this fix in below link or mail.
After flashing the provided BIOS file, I can confirm that the issue is fixed and the sensor is now working!
Thanks for your time,