[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also split the access of fpscr

[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
From: Ariel Miculas On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also

[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also split the access of fpscr

[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also split the access of fpscr

[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also split the access of fpscr

[PATCH] powerpc/32: Fix FPR index validation and fpscr access

2022-06-10 Thread Ariel Miculas
On PPC32, there are two indexes used for each FPR. The last two indexes into the imaginary address space "USER area" are used to access fpscr instead of the FPR registers. Fix the validation condition so that the access of the FPR array doesn't overflow into fpscr. Also split the access of fpscr