Received: by 10.192.165.156 with SMTP id m28csp46918imm; Tue, 17 Apr 2018 06:21:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx48+wsk1jqQFzDR/fw9YG4hC/7f65yZ2ooHd3kVDkSnRUesLwCTURnAY7FvL892DINs0egQT X-Received: by 10.101.78.18 with SMTP id r18mr1838972pgt.128.1523971292537; Tue, 17 Apr 2018 06:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523971292; cv=none; d=google.com; s=arc-20160816; b=vJL9CUnkgNIdZBAoZT3C9oybCeg5lyRnaViXNpxxPNYGECVxSjFh/E6kd4CPRXGSc1 hjynjpShRoGJ/S8Ihf57RCBYDqoVaW3ngoAg4Epp1ktp7s1rU/6RGUCeE4gnUoaQHeIm O99vYO08KuMJJPe9OYwzZx+G79wNCota5G1TI8BCuMnJe7gFwZd5QDnH4HaK1tqXOwN2 5ygs2wFXubls3KlkxKUZqTvM/1orhUkV1gB5krrNau4NZBX9F9jGA4U3s3qwOvQx2SPF 44Tk2Jo1HFbzv5DmahDNa9APqVD4N+VCCfqLVjhoRzmlVV/1VPYTL2DFkPFqwx6PLgty iz8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=k/A/tRgEO5TJXXHMWtt6yyNuskIXargvAq8JObQlgVc=; b=XtLxqg0yvvcT0vuVqRVCnLGgXOMabxykxTQFvAkwt9THU3Q4H+BMjo17vDwmzxaG5l HUBlPc+TDYBptV8BNbsSmTh3y7Oy3u8Cvj2NVBFsFof7jMAorR4QQP55C/aEdBy/kkH0 Uu6bzM+0BR52nm7z9N7EwHtxYSgaTBcmHImM+3hJj/PRvuU/LG7w6B/033lropkYyfWV iasgTG3LS9aR2aYu85qr9UmY/yi0tkzq89w5i5ioB4Z6IH2On2gyeLOcijaW9rkc8sFR SteQCyUf3P6wytw6cOkisFupbm0B9UgLVnUWzpkKiSZBCnR7AA4+9JVO3Mq2rdB1xJeg RKZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b184si10266289pgc.25.2018.04.17.06.21.18; Tue, 17 Apr 2018 06:21:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753501AbeDQNUC (ORCPT + 99 others); Tue, 17 Apr 2018 09:20:02 -0400 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:39757 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbeDQNUA (ORCPT ); Tue, 17 Apr 2018 09:20:00 -0400 Received: from mipsdag02.mipstec.com (mail2.mips.com [12.201.5.32]) by mx1401.ess.rzc.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NO); Tue, 17 Apr 2018 13:19:52 +0000 Received: from [192.168.155.41] (192.168.155.41) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Tue, 17 Apr 2018 06:20:09 -0700 Subject: Re: [PATCH 1/2] MIPS: memset.S: EVA & fault support for small_memset To: James Hogan CC: Ralf Baechle , , , References: <1522315704-31641-1-git-send-email-matt.redfearn@mips.com> <1522315704-31641-2-git-send-email-matt.redfearn@mips.com> <20180416202234.GA23881@saruman> From: Matt Redfearn Message-ID: Date: Tue, 17 Apr 2018 14:20:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180416202234.GA23881@saruman> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.155.41] X-ClientProxiedBy: mipsdag02.mipstec.com (10.20.40.47) To mipsdag02.mipstec.com (10.20.40.47) X-BESS-ID: 1523971192-321457-31281-52157-1 X-BESS-VER: 2018.4-r1804121647 X-BESS-Apparent-Source-IP: 12.201.5.32 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.192080 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On 16/04/18 21:22, James Hogan wrote: > On Thu, Mar 29, 2018 at 10:28:23AM +0100, Matt Redfearn wrote: >> @@ -260,6 +260,11 @@ >> jr ra >> andi v1, a2, STORMASK > > This patch looks good, well spotted! > > But whats that v1 write about? Any ideas? Seems to go back to the git > epoch, and $3 isn't in the clobber lists when __bzero* is called. No idea what the original intent was, but I've verified that v1 does indeed get clobbered if this path is hit. Patch incoming! Thanks, Matt > > Cheers > James > >> >> +.Lsmall_fixup\@: >> + PTR_SUBU a2, t1, a0 >> + jr ra >> + PTR_ADDIU a2, 1 >> +