LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] nds32:Renaming file and fixing the unaligned access handler
@ 2018-05-07  6:45 Nickhu
  2018-05-07  6:45 ` [PATCH 1/2] nds32: Renaming the file for unaligned access Nickhu
  2018-05-07  6:45 ` [PATCH 2/2] nds32: Fix the unaligned access handler Nickhu
  0 siblings, 2 replies; 5+ messages in thread
From: Nickhu @ 2018-05-07  6:45 UTC (permalink / raw)
  To: greentime, linux-kernel, arnd, green.hu, vincentc; +Cc: Nickhu

The name of /proc/sys/nds32/unaligned_acess spelled wrong, so we renaming it
to /proc/sys/nds32/unaligned_access.

The unaligned access handler in nds32 goes wrong when the immediate field of
load/store instruction is negative. We fix it by recongnizing whether the
immediate field is positive or negative and then change the value of immediate
filed to unsigned integer number.

Nickhu (2):
  nds32: Renaming the file for unaligned access
  nds32: Fix the unaligned access handler

 arch/nds32/mm/alignment.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-08 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07  6:45 [PATCH 0/2] nds32:Renaming file and fixing the unaligned access handler Nickhu
2018-05-07  6:45 ` [PATCH 1/2] nds32: Renaming the file for unaligned access Nickhu
2018-05-08 13:45   ` Greentime Hu
2018-05-07  6:45 ` [PATCH 2/2] nds32: Fix the unaligned access handler Nickhu
2018-05-08 13:44   ` Greentime Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).