Received: by 10.192.165.148 with SMTP id m20csp4324129imm; Tue, 8 May 2018 06:45:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqoD73zJHGSClIHEBnyWpo/+CSRCzI0X7LntM0sKR2U4/O3x8p3ibjtQP1GmWCMwLXE9jXy X-Received: by 2002:a63:714d:: with SMTP id b13-v6mr25595971pgn.271.1525787150795; Tue, 08 May 2018 06:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525787150; cv=none; d=google.com; s=arc-20160816; b=whXEm9bpEWsueU+VKnn6lRAjTjuNVIEN72ZXe0tvZezvwLf8CoRLjN+IH35Erwp5bB fsiDWwniJXnUsv9XQAPxZbDxurFT1gh+TQrZRXKi4O51IqpgdxHnbPGMH6ppemiWK58N v0+x1wKTi0KcxVfmT+UOabIZaZdK01JqTiM26zDSZZCVgBzakjykec+btZZ59Gt7Z9eY 58lz8+TH1YTpXthtIXYd3lQTKQoJvquJBRqBv71EZ6hBBsXR35h0i26Ti9SdS6VSADV2 C0ct+7AcIKlX6v9khwaMoM2nrXduOQllqZAXFyCx6zrKmy7+odd4BHzPqkOTetXUEUUU ccSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=AMb+vjEJIm1b6e2FeEq39wIKAHzuIzdK5M2fTsVbPNc=; b=bFUXlYM5BaZcoE+6+bGQ+eHAAigNmo79ZZ0qI//1VWI9C+Ku7st/mTv8R4jSVsUTA3 oDUPxywwsFFrkl7YwQoJDOVAQGbIfJapMjSCZBqKLsoCoNzsLum6o2aFUu9J85AUOyM7 0g9wpEUufBLc6Py6neFnLkRMGoHt6WTHWgAE3ZEx0Z5iqbZQ46qkxUdnSArMPeflck1U 3d9BUZe818AEKd6sHRxyNNQTUDkjPtO7jFsJWJOOJAknijwdX1gooxCTf80Ew1TAIKRF nX1yM+p3ZlasEsPZqoElWqN0jjgUEp2S4k1xh+DNltWNMr+4px/p1sj7xOGKXVWHZfJd Ji/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qEvP65N7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v85-v6si19876506pgb.120.2018.05.08.06.45.36; Tue, 08 May 2018 06:45:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qEvP65N7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755031AbeEHNpX (ORCPT + 99 others); Tue, 8 May 2018 09:45:23 -0400 Received: from mail-vk0-f68.google.com ([209.85.213.68]:33100 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752497AbeEHNpW (ORCPT ); Tue, 8 May 2018 09:45:22 -0400 Received: by mail-vk0-f68.google.com with SMTP id q189-v6so19673977vkb.0 for ; Tue, 08 May 2018 06:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AMb+vjEJIm1b6e2FeEq39wIKAHzuIzdK5M2fTsVbPNc=; b=qEvP65N7mN5pZNGoGxxeAPhHr903aXoqiVn/ftrdiMkQ6Qnuzp3pCYuMHAfYiKrWtX wgvl1dFtCFMkliBjjUMUbKFagk3UnFxFV0XbOXjHLawvXoPnlehLxB9Gq8PXcEYO/URy +OU+6gnh63dwd69G9/NwHcnvXJNhSz8ZXV//xblc8XdJ5wLmaTcR7TTG0WLQ8A/433pC Sw0y4ZNKOmJcXUSZ+QNYg5DyhvjiYDsnyfaYgD/5QgeLOMdNOXGeMSkjeMg6u4+bSEsz x3vZvT20hN1hx3KeFuWsSCMD67tNE88paubI7HLLIFgyy0kakeo6cQ9aURa8HQiBXHTN 3JZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AMb+vjEJIm1b6e2FeEq39wIKAHzuIzdK5M2fTsVbPNc=; b=m8Kp7hKoQiSt6GEF7MVyc9ybkB3iXkmwyaJbaYL3g07ReSUsxRaBYJztLpecJrew+E SbCvaLbOML7ulQNOV3fYhb+HVJLD+Oqi95plRCdhawpwdjOwbqU5JRBHv44EatOqfsWU XnKpAmv2exc7KK7GnRk2kf3xVxxRDpwkgNveMlt6s55XXkE2WOpn923TGctXURVgsCQA NuZWqQMyPmEM/9qz5lLEakshhcLssXd64z2tz0sgunZ6/jnb6HE9Q+mQhUzAlV/HT++L 4zzjEjJijyPZMe4fhjOPW2g9ddl2qTaj8oZRR2VcYmP5wu8kU+u2k/finlf8sK+FuoJO 5+aw== X-Gm-Message-State: ALQs6tBvOY7xtnSYFOYSCU21QFvz2TokWtQE8hIsvia1LltXROPkjrSN /00b3QLQDCzAH+PQKLaY8nkEOitPGZB+LDZEvBF8Uw== X-Received: by 2002:a1f:a991:: with SMTP id s139-v6mr35606376vke.54.1525787121217; Tue, 08 May 2018 06:45:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.92.86 with HTTP; Tue, 8 May 2018 06:44:40 -0700 (PDT) In-Reply-To: <737baa062b19428816afc1fccf3bca03210b45c5.1525673368.git.nickhu@andestech.com> References: <737baa062b19428816afc1fccf3bca03210b45c5.1525673368.git.nickhu@andestech.com> From: Greentime Hu Date: Tue, 8 May 2018 21:44:40 +0800 Message-ID: Subject: Re: [PATCH 2/2] nds32: Fix the unaligned access handler To: Nickhu Cc: Greentime , Linux Kernel Mailing List , Arnd Bergmann , Vincent Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-07 14:45 GMT+08:00 Nickhu : > If the kernel config 'CONFIG_ALIGNMENT_TRAP' and the file > '/proc/sys/nds32/unaligned_access/enable' are set, the kernel > unaligned access handler does not handle correctly when the > value of immediate field is negative. This commit fixes the > unaligned access handler in kernel. > > Signed-off-by: Nickhu Thank you, Nick. Reviewed-by: Greentime Hu