Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp406704ybb; Wed, 25 Mar 2020 02:06:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsizIhNGscsfZD8A1WeGV3+t4GQzokCU0f+6g5mKeOD5zLDJwaPBsgE5sUd5rlCETybz13B X-Received: by 2002:a9d:65ca:: with SMTP id z10mr1746094oth.86.1585127191415; Wed, 25 Mar 2020 02:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585127191; cv=none; d=google.com; s=arc-20160816; b=zsoq1U0hFZRas5AeFjV0/EefOdu1wP1cmr9UxHoHS4Y96J7fareIu56tHED1+DP23s B1H0iuUE9nzTo2yiRB+5zG3tKGqZvd4UteLtqjYHaDWlmLEUXKwAr/U50S9ZL0Cao6mX rQTkh/N60W03FAuNac1V5bJCZ4fO1nx7iI7KGC7pGKf5DaJYJW1CKkPuPHWBWtGQ3o7q DTNZHbLqjPFZr1hsI53Ae/cirSH5bvYP/rzjXylttHObtiuZNJmhV8rSv/e6yp5agydx ZvQFbfa653odfJ7rulAQ5uNHZ9aYw2/EAXn+l/zFJErPn7mrl1LBi1F8SVoowpd3qY4M 3M3A== 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=xFapOjreZdfflr0tAkPwjEPoKi1nvG2+pYzfo8sF9Wk=; b=pHqceVwFgcLFjkjZj9LVAFusdUn+9BmL0FWdO9jOd52dwl6uj6s8fCUPF1cRow88hW PwoAccsvLWqlT/XARSKcdoAy76gDpa8QE6S+315z50Qd0SFNIcztkP5FVn12KCxV5eic QpbjCQd9p8X61G+J3svbJ0fd1l+3gPqCutdLwm6q3X4KULfHCNYeI+DKww8E7EDdl7DJ nAd8cx7ZtgLDYvwf6ivmHXN4SfXx/MRqMwPS2DJ9kuOhoCOFAQG9EaYTU2X/Hg58HcY8 QAJCeiLZz8RE9S28/FJfGiNXNnK4yp5jabbPO3+SkzIJP7uExiBtwgrLpUjXIrMfnVqk JRYQ== 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 50si6477476otv.259.2020.03.25.02.06.17; Wed, 25 Mar 2020 02:06:31 -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 S1727441AbgCYJFO (ORCPT + 99 others); Wed, 25 Mar 2020 05:05:14 -0400 Received: from pio-pvt-msa1.bahnhof.se ([79.136.2.40]:46006 "EHLO pio-pvt-msa1.bahnhof.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbgCYJFO (ORCPT ); Wed, 25 Mar 2020 05:05:14 -0400 X-Greylist: delayed 586 seconds by postgrey-1.27 at vger.kernel.org; Wed, 25 Mar 2020 05:05:13 EDT Received: from localhost (localhost [127.0.0.1]) by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTP id 46C883F226; Wed, 25 Mar 2020 09:55:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bahnhof.se X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=6.31 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from pio-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (pio-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2m8-KGu0_NoS; Wed, 25 Mar 2020 09:55:25 +0100 (CET) Received: from localhost (h-41-252.A163.priv.bahnhof.se [46.59.41.252]) (Authenticated sender: mb547485) by pio-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id DBF2E3F398; Wed, 25 Mar 2020 09:55:24 +0100 (CET) Date: Wed, 25 Mar 2020 09:55:24 +0100 From: Fredrik Noring To: Christoph Hellwig Cc: "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: <20200325085524.GA28706@sx9> References: <20200324161525.754181-1-hch@lst.de> <20200324161525.754181-2-hch@lst.de> <20200325083012.GA21605@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200325083012.GA21605@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The only use of cpu_has_64bit_addresses is the choice of the ioremap > code base. Which ioremap code does the R5900 want to use? If it > doesn't match CONFIG_64BIT having a config option for the ioremap > implementation seems much more sensible, and can be added with the > R5900 patch set (do you have a link to it?). I suppose this would be relevant for the n32 ABI, but initially we only have o32 for the R5900. The (slightly outdated) patch series under review is available here: https://lore.kernel.org/linux-mips/cover.1567326213.git.noring@nocrew.org/T/ Regarding cpu_has_64bit_gp_regs: another unusual aspect of the R5900 is its 128-bit GPRs. :) Fredrik