LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Nickhu <nickhu@andestech.com>
To: <greentime@andestech.com>, <linux-kernel@vger.kernel.org>,
	<arnd@arndb.de>, <green.hu@gmail.com>, <vincentc@andestech.com>
Cc: Nickhu <nickhu@andestech.com>
Subject: [PATCH 0/2] nds32:Renaming file and fixing the unaligned access handler
Date: Mon, 7 May 2018 14:45:00 +0800	[thread overview]
Message-ID: <cover.1525673368.git.nickhu@andestech.com> (raw)

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

             reply	other threads:[~2018-05-07  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07  6:45 Nickhu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1525673368.git.nickhu@andestech.com \
    --to=nickhu@andestech.com \
    --cc=arnd@arndb.de \
    --cc=green.hu@gmail.com \
    --cc=greentime@andestech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vincentc@andestech.com \
    --subject='Re: [PATCH 0/2] nds32:Renaming file and fixing the unaligned access handler' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).