]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfacf2baa63961abc70e83a2935418e4f7557d693
treee03d927f4eb75d8cf87434fa7fc6d6ed90623545
parentd6364fea463ba81f92f4fafb266a67a0601b040a
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