Received: by 10.192.165.148 with SMTP id m20csp96327imm; Thu, 3 May 2018 15:40:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqP2Thhru474NHPSG5Ag6PgVetM6YkIml9gCoaava1LrlypeKAh8Fudp4u+5VMCRWN6s+93 X-Received: by 2002:a17:902:380c:: with SMTP id l12-v6mr13805625plc.19.1525387236469; Thu, 03 May 2018 15:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525387236; cv=none; d=google.com; s=arc-20160816; b=Fo2HolwD9ocrvF8GE5cp72LDKF8hC0ZKW6nab4I/f8KsNkbruLHkymIAg27Pl2B/kK mhQxD/Pnu7hjzvZPxz3Dex+IYqKB1u3ESm83u4VfFd0hDP9Qwc6JEvkKRunMkutMvZZF wDNNekhSGbUZDr84cwBkhUGoOHmHt/0YUKplqSg2tdX2HFvqujHdxMCM390DEW3FEcrE NQysvwIQVyoS5VLP5UnVX1S37hnFYyYrI7HYnML0FoL3NhtZc8mz9Qvml1OQ8LzxcBUk T2juSzOc1hdIH+12K7vcPTvCsm9HEZ8jGdfhgpmApIYVnjezVULKay+64lRsUBdaaNxJ xZPw== 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=PKnXhs05Z/cvp+tdY8NqgifaWSZch/rtjwbGXZNtkFw=; b=RNCzzFalCcQaUOiI8L/3V61Tc5rNK406tkuMeJkGmZeaqXW1bd04GmDmYLDc/kvsUO ZljKRrIShd1ImmUsqGfhZZURZeUciRXDFD9BgCYREGVYWixvsoGZ5Rfh/BKlYpH8P5VC HczuKm3lhTsSFelP+bXSlDQbj3f+ubje4aQS1xiaFyJpY7+iJRFGFiCeRwCJGvJlQjGf 1nT03ZPjJFd9JVQ/67pHpLWBrvQYD6bW03+6oEY9GeK9kP+UQ+1HOkDmnG4P0uXEWglh glKvhQ4FmyBWkY2Y8n9fs+Y8UDQvMoSrxVRQ9zSwOSue+Bge8YAn8VJN5iULu8SLoq0Q ZKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=r087GcyM; 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 f59-v6si14446450plb.106.2018.05.03.15.40.22; Thu, 03 May 2018 15:40:36 -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=fail header.i=@gmail.com header.s=20161025 header.b=r087GcyM; 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 S1751139AbeECWkK (ORCPT + 99 others); Thu, 3 May 2018 18:40:10 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:45518 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbeECWkJ (ORCPT ); Thu, 3 May 2018 18:40:09 -0400 Received: by mail-qt0-f193.google.com with SMTP id j42-v6so25074795qtj.12; Thu, 03 May 2018 15:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=PKnXhs05Z/cvp+tdY8NqgifaWSZch/rtjwbGXZNtkFw=; b=r087GcyMbxDpe2Bg+MzpaXIA0nfXHpbGt2zViOtgJl+mhM8GViuSKDVpoHFxM5iDNO ti9eTsVc9FciW4cSNJGRk465SZRkG29cN8O4ULaoeoM9l+2tebRE7s5MuZhlBM5ehVx9 ZoPxsfDt1PAiiQB2wXHWv4kWXrrcP41Oikaz7jgQQ12IBFlHPDgMeWfR970yKrhg2cgY 5kf3psK8b3n96/85kaJABPEKpT8ORFfvIOvfIFCPfsr35R4PrfQq3tfb0V+Za7iuyJ/r +MFezGgKeskWdoTnK6sPheyC/aA1jLekLoAMEZwmKM3ho/ln2ZeBLLgj882TqICydlAH +6jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=PKnXhs05Z/cvp+tdY8NqgifaWSZch/rtjwbGXZNtkFw=; b=ZjxsxV4Xr2m+XHiUaxM5wOEOQXJLYsuNLL3V29BoGcuuvULbXJnfDRwIAS26hTHSdZ JLkjUAP9PLIPOCLDzqrDkimq/cV8jALeQHwr0vPQN4/D0bxoxa4+21AnoTnbhFKtEH4S wbPWqhtTJj+mYazEGtw4rZOcYdGqYF10czHDoOJxJuMR15NXRXou12RPQNQb9N47sP6k /D65aGKc4Q+s84jCgz1PT2202C9n8stTfTiaxVSmQLO36WILW/GmsClHU44mJMbbc30p GT/a6XoFuRrjfDSv9bIS2vLcLNwaqW1KkaRYviivnEdLq/kk2bX6d0mY/hLJQ2WDvJom lRZw== X-Gm-Message-State: ALQs6tBlhUGOhdSkUaegPKvdSqCQsYVwy13DOZSKd8CLsKQYYTEQO66P 1UTI9nX77aJs3nDSRQF7Ek5B08Bu5e0Sx/As+cTzNA== X-Received: by 2002:ac8:1c12:: with SMTP id a18-v6mr22314023qtk.280.1525387208210; Thu, 03 May 2018 15:40:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.3 with HTTP; Thu, 3 May 2018 15:40:07 -0700 (PDT) In-Reply-To: <20180502215107.GA9884@saruman> References: <20180502215107.GA9884@saruman> From: Arnd Bergmann Date: Thu, 3 May 2018 18:40:07 -0400 X-Google-Sender-Auth: zGWEe4vkoxJ789wYH7_oUbrkXyI Message-ID: Subject: Re: Introducing a nanoMIPS port for Linux To: James Hogan Cc: Ralf Baechle , "open list:RALINK MIPS ARCHITECTURE" , linux-arch , Linux Kernel Mailing List , Paul Burton , Matt Redfearn , Marcin Nowakowski , Matthew Fortune 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 On Wed, May 2, 2018 at 5:51 PM, James Hogan wrote: > Due to the binary incompatibility between previous MIPS architecture > generations and nanoMIPS, and the significantly revamped compiler ABI, > where for the first time, a single Linux kernel would not be expected to > handle both old and new ABIs, we have decided to also take the > opportunity to modernise the Linux user ABI for nanoMIPS, making as much > use of generic interfaces as possible and modernising the true > architecture specific parts. > > This is similar to what a whole new kernel architecture would be > expected to adopt, but has been done within the existing MIPS > architecture port to allow reuse of the existing MIPS code, most of > which does not depend on these ABI specifics. Details of the proposed > Linux user ABI changes for nanoMIPS can be found here: While I haven't looked at the individual changes, I wonder whether it would be useful to make this new ABI use 64-bit time_t from the start, using the new system calls that Deepa and I have been posting recently. There are still a few things to be worked out: only the first of four sets of syscall patches is merged so far, and we have a couple of areas that will require further ABI changes (sound, sockets, media and maybe a couple of smaller drivers), so it depends on the overall timing. If you would otherwise merge the patches quickly, then it may be better to just follow the existing 32-bit architectures and add the 64-bit entry points when we do it for everyone. Arnd