Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1852878imu; Sun, 16 Dec 2018 10:13:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XXZ9GST5ZzR32rhh+XbKluQlT3DMiE5UEn2ZHJYtKi9sxRvtV8XZEQXToz0ntC7GWOQoFp X-Received: by 2002:a17:902:28e6:: with SMTP id f93mr9895397plb.239.1544984039695; Sun, 16 Dec 2018 10:13:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544984039; cv=none; d=google.com; s=arc-20160816; b=UNIuDRpiiXEI+4VpE3/houDiw2XSRyukserUkyo+QfeTBu66L3I+T5N1KeGJcwC2QA n9jsQ2ypXBFNRTpB5BcNPbUG22awOgwM/iVTIv6v4DSq1qW2FJRdfLgPIkz6MoJSHT6x nyvPO+7h3LaG1cYVvcw8angS9H6y+4bYWB6zPbdtvaZ9ekZGzi1kGTBeNZ690e8RtbW4 tKEscslXNxMN09Jug7aFoEiVBv5w+SlJRJcINuYFP9VZzSojGFxQJpJtH6wS3dxixE8R tuhuTXlG46X/ua22M+dESjBSl3InfOtZGvlC8dRuOGULR0WSjSvyVs5SDtse7dx1fQLR mz8g== 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; bh=JLwQnPuhNetVtwbMVtEcKofQvHZspwei8B/b5RXS4bs=; b=ZlVVAccRdAVQC9eDgyxSweI9KM3V3l9rdL3YWrFtN8QsTCLhQFvWJGvIaWnuVpW6ID AmaAYhhQ5Le5T+IC/ZXHcEptYCJpT+7MN+Uf5ZHY1TCLYHGdHLfKVFLCtCeKbleI3LSd 97g65wruoY+PLVLUlWmBm8pnWvMMYQUVNl4tvEJ2arphtkssVaM6Cu7rRobyV3eHbSEY anM9uStkesiOUCSLYPjwHhfbFalsAXz58Fqzt5dh0YSbFniodfyVVWJlQFQ+a7eRhXYz dsM88HyFfaXLShCvWPTfTZDkx94BqJlzFGOAvE0B47InsveqZe1ml4mj2zgPo8yKS6em MXAw== 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 a5si5029734pgg.120.2018.12.16.10.13.31; Sun, 16 Dec 2018 10:13:59 -0800 (PST) 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 S1730719AbeLPSLq (ORCPT + 99 others); Sun, 16 Dec 2018 13:11:46 -0500 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:59146 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730593AbeLPSLp (ORCPT ); Sun, 16 Dec 2018 13:11:45 -0500 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1gYat7-0005Ii-00; Sun, 16 Dec 2018 18:11:37 +0000 Date: Sun, 16 Dec 2018 13:11:37 -0500 From: Rich Felker To: Paul Burton Cc: Andy Lutomirski , Linux MIPS Mailing List , LKML , Paul Burton , David Daney , Ralf Baechle , James Hogan Subject: Re: Fixing MIPS delay slot emulation weakness? Message-ID: <20181216181137.GF23599@brightrain.aerifal.cx> References: <20181215212643.sfk2zwzatdfysbk3@pburton-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181215212643.sfk2zwzatdfysbk3@pburton-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 15, 2018 at 09:26:45PM +0000, Paul Burton wrote: > > The really nice but less compatible fix would be to let processes or > > even the whole system opt out by promising not to put anything in FPU > > branch delay slots, of course. > > The ultimate fix comes with a switch to the nanoMIPS ISA which has no > delay slots :) I don't understand the MIPS position that introducing new ISAs (including silently-new like r6) and not supporting or deprecating support for the old one is a solution to anything. If one doesn't care about the ability to run existing binaries for your platform, one might as well switch to RISC-V or ARM or whatever. The whole advantage of an ISA as a "platform" is the ability to run existing software and use existing tooling (not just compilers; think also JITs, FFI frameworks, etc), not any particular design advantage the ISA has. Rich