Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp491855imm; Mon, 21 May 2018 09:15:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqd2TH14Y99nJUuh8GJCUFuAs1IiyXe2kBqlZK9KmQNJdSzpmzMu/N8xb1/vn0AcDLPLYIT X-Received: by 2002:a62:db05:: with SMTP id f5-v6mr20639542pfg.137.1526919330416; Mon, 21 May 2018 09:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526919330; cv=none; d=google.com; s=arc-20160816; b=CGQ+1UOAIvd2t/L8KowbNwEh6S4NnbDhNX+QnviJ0M9TJFQDwp7U8e4L+Ac0nsr7GK 2pyof/HEYm8LGKGh78jPvZ+zoSvfXt9tsNVw8cTkArRQwedW73TNK75eO4MzzHph5dut xEMW2SaV1h2PNwS/CO+sPqxcPnqjBQO23i96Mko3yON9ByVrhrLWOPPLiTbJs/m986/5 WTQ1EKGI8+N59X/iHOqBvVPKuicCxoqSjcfT4tzZ4qldEfJXopUDhdG/TJxyl+0XNxXz qujhSDAdzIAICvdRNYiHpV2VABjEQyW0f5dovLfNJK1xQOarFDlLovyLdx3m8LgV6jri emhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=LEG0erP6BqzHmQFpi8jMp/bhyejXv9aJoQ15/PciU38=; b=hIUXM8Oq6ZFiV5KdB51udAMEWrMb+fe2xuZ9h/QozjAZFenHjG7Die39Z5/pALqrv8 AUF76HHtVQxUB/eJqmyh6IRtxPnQitwgdpxWzeDRdYulL1dY3wi1vmqFvPcexFcmaA63 w0eYBlcZZHPt18O5T3TAVjxZFggdbvuKb4zDmx9qLISJ/NRJ1H7KuQ6lx15scjRPTAJx gmOHuflenbJXOUcOsaLv0tSkgdPiw+/20mfYvlPLH2INpDjaVueshbsW7bE3T4Hy/jLj +qAa6JC57tTSP85ztwEg7aUU/YGwamuUADIME73oNH9bQDBeYb25qK5Ku0vZEWJ986oJ dPBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2Ku4SGXC; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 128-v6si4055168pgj.289.2018.05.21.09.15.15; Mon, 21 May 2018 09:15:30 -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=@kernel.org header.s=default header.b=2Ku4SGXC; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753214AbeEUQOu (ORCPT + 99 others); Mon, 21 May 2018 12:14:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:38120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752876AbeEUQOt (ORCPT ); Mon, 21 May 2018 12:14:49 -0400 Received: from jamesdev (jahogan.plus.com [212.159.75.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 26D8E2086A; Mon, 21 May 2018 16:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526919289; bh=k/UmY2LlIf/g4P1KQMKApBpI7n8otaGfio/L42hUK6A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2Ku4SGXCHLwkZrEpcowTfxKBUjSgMnzUWv/FFDPAYQPL+I3YRGgqRGJRKWhOjT7hK wo98cfECBtBUNwl9vhM8fRiRshLGp2HXA8wBXxpEGGGafy7+ZipJCjQK68G1zm4qOS Ceblr/nj9ooxjfG/hacbHy0RtuDKkXlCFeFcrTCk= Date: Mon, 21 May 2018 17:14:45 +0100 From: James Hogan To: Matt Redfearn Cc: Ralf Baechle , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] MIPS: memset.S: Add comments to fault fixup handlers Message-ID: <20180521161443.GA9998@jamesdev> References: <1523979603-492-1-git-send-email-matt.redfearn@mips.com> <1523979603-492-4-git-send-email-matt.redfearn@mips.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <1523979603-492-4-git-send-email-matt.redfearn@mips.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 17, 2018 at 04:40:03PM +0100, Matt Redfearn wrote: > diff --git a/arch/mips/lib/memset.S b/arch/mips/lib/memset.S > index 1cc306520a55..a06dabe99d4b 100644 > --- a/arch/mips/lib/memset.S > +++ b/arch/mips/lib/memset.S > @@ -231,16 +231,25 @@ > =20 > #ifdef CONFIG_CPU_MIPSR6 > .Lbyte_fixup\@: > + /* > + * unset_bytes =3D current_addr + 1 > + * a2 =3D t0 + 1 The code looks more like a2 =3D 1 - t0 to me: > + */ > PTR_SUBU a2, $0, t0 > jr ra > PTR_ADDIU a2, 1 I.e. t0 counts up to 1 and then stops. Anyway I've applied patch 3 for 4.18. Cheers James --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQS7lRNBWUYtqfDOVL41zuSGKxAj8gUCWwLwbgAKCRA1zuSGKxAj 8pVzAQCMm0CcwP/uwnlI1wpP3iYFikj0u1zLwAjzUkfKc9ulwQEAhFUoRm2/fb1m ge9q5n/5sVHMJCTh9P/GShTwKXSvqQc= =zRxf -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--