Files
mirror_zfs/module/os/linux/zfs
Damian Szuberski 849c14e048 PPC get_user workaround
Linux 5.12 PPC 5.12 get_user() and __copy_from_user_inatomic()
inline helpers very indirectly include a reference to the GPL'd
array mmu_feature_keys[] and fails to build. Workaround this by
using copy_from_user() and throwing EFAULT for any calls to
__copy_from_user_inatomic(). This is a workaround until a fix
for Linux commit 7613f5a66becfd0e43a0f34de8518695888f5458
"powerpc/64s/kuap: Use mmu_has_feature()" is fully addressed.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Authored-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #11958
Closes #12590
Closes #13367
2022-04-26 10:52:40 -07:00
..
2022-03-14 12:37:39 -07:00
2022-01-26 11:38:52 -08:00
2022-03-18 06:47:57 -06:00
2022-03-15 15:13:42 -07:00
2019-09-12 13:33:44 -07:00
2022-02-15 15:54:25 -08:00
2022-03-15 15:13:42 -07:00
2022-04-26 10:52:40 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-02-18 09:34:03 -08:00