Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp441066ybb; Wed, 25 Mar 2020 02:56:00 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtJz7LIxDc9eCcEZTqiXqjEQ2Iem+sYYKlvGZgwfuYWZv3TfCeeA7HURrFDTxRdt9r5DXun X-Received: by 2002:aca:aa81:: with SMTP id t123mr1890220oie.117.1585130160131; Wed, 25 Mar 2020 02:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585130160; cv=none; d=google.com; s=arc-20160816; b=a2AeY8ynyk9JBV3gShzhgjyhONvyLknFYhQKNAn9pbVyNA9t3aQxXQLTfYkGneyoZL yqF7vsKVFl7P5XC37sbxVV5T7e7AWDsFoDF/IVmSq0vjavkattd0mVU37reNrwo1gMup pw9liKdWr4YmsgWGCeEvgU9q8zuY/9B7AliSP2jabqHcYDzFFY86IQsttX+kBqApmxoa 0ryOQsXLGRYjuwial9Xj1rZsRPmBuoZv1cE2CWAh4RQcDoCJ79q6LR696LisfsARH4Pq otahKzgkoaPBm99oPbHOjMm4bWRkCz9WH0ePYy7eUYYJJxHgGqFhpoVHokJm21eqjidR viHQ== 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=B3zxZ1hvq6xogL8X8GvGMKn4dpM0nU4Kp4Q6l2rEO1w=; b=rCZmUDd0wD8axo0WEuWpihhIcIl577uD9C//JML4KpHx/PwowbE8PgyqRRBQHyLLQr j8d/BDv1xLER15gV5nAayDP3UOc+2YYxLMdZWLvoGge+NfiHW2ekoe5X9HYDfyuH8/m2 iMxtIP76dM/syLmeN57os7hePMiMmtgQqSad8xLFqs+ilglkuEe1DcPv8ojH5Ppkaa9a Z4y1R+WXNY0JsWsCkfIVGN6uVogmiZ7v/NJFOhLI4sr0Xtrb++i+EMkLYaNJA8RWEiDL kFKKjPXrS4f3hQFeeTQ/aRmsKqks6rBqoEWe5AI+8kMUXwhEj3l87WtSBSSlsyXr/YKS bTGw== 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 y206si5404845oig.253.2020.03.25.02.55.40; Wed, 25 Mar 2020 02:56:00 -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 S1727595AbgCYJyi (ORCPT + 99 others); Wed, 25 Mar 2020 05:54:38 -0400 Received: from verein.lst.de ([213.95.11.211]:40008 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbgCYJyi (ORCPT ); Wed, 25 Mar 2020 05:54:38 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AEB4368AFE; Wed, 25 Mar 2020 10:54:35 +0100 (CET) Date: Wed, 25 Mar 2020 10:54:35 +0100 From: Christoph Hellwig To: Fredrik Noring Cc: Christoph Hellwig , "Maciej W. Rozycki" , Thomas Bogendoerfer , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] MIPS: remove cpu_has_64bit_gp_regs and cpu_has_64bit_addresses Message-ID: <20200325095435.GA27807@lst.de> References: <20200324161525.754181-1-hch@lst.de> <20200324161525.754181-2-hch@lst.de> <20200325083012.GA21605@lst.de> <20200325085524.GA28706@sx9> <20200325085852.GA23786@lst.de> <20200325092446.GB28706@sx9> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200325092446.GB28706@sx9> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 10:24:46AM +0100, Fredrik Noring wrote: > > > The (slightly outdated) patch series under review > > > is available here: > > > > > > https://lore.kernel.org/linux-mips/cover.1567326213.git.noring@nocrew.org/T/ > > > > You don't happen to have a git tree available somewhere? > > https://github.com/frno7/linux/tree/ps2-v5.4 > > is stable at v5.4, > > https://github.com/frno7/linux/tree/ps2-master > > has more experimental stuff (also at v5.4 at the moment). There are some > (work-in-progress) notes on the R5900 psABI, that may be of interest, here: > > https://github.com/frno7/linux/wiki/R5900-processor-specific-ABI-(psABI) So from what I can tell this uses a 32-bit kernel and 32-bit userspace, and sets both pu_has_64bit_gp_regs and cpu_has_64bit_addresses to 0. Now if you ever wanted to make use of the 64-bit registeres it would require quite some changes, which probably really should have a new Kconfig option. In fact a lot of the workaround for the 64-bit registeres that are in the code already should be keyed off such an option rather than CONFIG_CPU_R5900.