MIPS: memset.S: Add comments to fault fixup handlers
authorMatt Redfearn <matt.redfearn@mips.com>
Wed, 23 May 2018 13:39:59 +0000 (14:39 +0100)
committerPaul Burton <paul.burton@mips.com>
Wed, 25 Jul 2018 00:02:43 +0000 (17:02 -0700)
commit6312455a0437a64059bdeee5696b375593a09947
treee03d927f4eb75d8cf87434fa7fc6d6ed90623545
parentb1c03f1ef48d36ff28afb06e8f0c1233ef072f1d
MIPS: memset.S: Add comments to fault fixup handlers

It is not immediately obvious what the expected inputs to these fault
handlers is and how they calculate the number of unset bytes. Having
stared deeply at this in order to fix some corner cases, add some
comments to assist those who follow.

Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19339/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Cc: <linux-kernel@vger.kernel.org>
arch/mips/lib/memset.S