Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp179547ybb; Tue, 24 Mar 2020 19:37:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtKZnInsh6A3LOKlraEcXVO6yWNhThXdx32Xdas+nSXfC4Z2oFkhXPbIGXzM2v1KDU5Q6LV X-Received: by 2002:a05:6830:10cd:: with SMTP id z13mr872819oto.210.1585103879604; Tue, 24 Mar 2020 19:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585103879; cv=none; d=google.com; s=arc-20160816; b=DaOfEdZxyK3SBmu3/eIUKLmNSXLTWYskIDcdV7uhl0VwwjUqADugeWgZsNySH71//x Kw1RfjW4E82Nbmb53aCaXa1QjVmHyunP/2ZovmcWDJl05jgtMR9a5ZGrf5A6RVT/FGpW MLFBT8m17TJDMkTTaDx+FGRp8LWGtjUoRpl4eXJ6GPtjoU+otzfoxRlzG6eHPvDpkJEA a6IIJ18zQltszquy4vxGMn/1AdZXJ6Ll5seba1WJt7CNqQQphcHfd7UMN3rwY68k0PdP dbfDm2pgAjOqrj7HmLfOYXksQO5mLV0joFKdeZskv5TiWF9QpC6YfzZ1H9N6SGrk32fw VfDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=q0YAFv0+LS5Z6OpHxnQ4lHdslv8lRRh1Q1AFAaiJ/V4=; b=uMh+wUOwSWKkYLFiTOhgWShzMY5PYpzc/jr3u6/TGvZUAZpp10lslcq944LpaNmQip 9/EHH27NcGLtO03ed4zt2b4Tv5KXOnAbrWr9RnzZtfsa3OWdXVwU+Cl+E/ZrVuC4NiRb TxulOLpaE1y8omj9PsuRml/GNqJdKemJQiSLA/w0HGvb7nfMIw/fp+iaAAvpmL4H9Hsr UZrFmc+pbE7yQI2RS7fTm1xBOzEX6Pc+vfXqLuwSOVk5em4irGZGo0knLT2Qe+kHrsYc ycfIMLd65klc6mZ25X99SQiUfPXXEox8Ujp2a/tRmHg14o+hakse7mRZ+yVkfCc4ofaM tePA== 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 193si9607824oie.51.2020.03.24.19.37.47; Tue, 24 Mar 2020 19:37:59 -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 S1727328AbgCYChD (ORCPT + 99 others); Tue, 24 Mar 2020 22:37:03 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:40720 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727253AbgCYChA (ORCPT ); Tue, 24 Mar 2020 22:37:00 -0400 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23992798AbgCYCg5y2cvG (ORCPT + 1 other); Wed, 25 Mar 2020 03:36:57 +0100 Date: Wed, 25 Mar 2020 02:36:57 +0000 (GMT) From: "Maciej W. Rozycki" To: Christoph Hellwig cc: Thomas Bogendoerfer , Fredrik Noring , 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 In-Reply-To: <20200324161525.754181-2-hch@lst.de> Message-ID: References: <20200324161525.754181-1-hch@lst.de> <20200324161525.754181-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Mar 2020, Christoph Hellwig wrote: > Both macros are always identical to CONFIG_64BIT. I think this abstraction makes sense, especially if we want to support 64-bit CPUs that only support 32-bit segments, i.e. MIPS architecture processors whose CP0.Config.AT=1, or legacy MIPS processors that had a similar limitation, such as the R5900 currently under review. Maciej