Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp400868ybb; Wed, 25 Mar 2020 01:59:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vulOQtA8Frfcc6Ol9N68JXDo2mvCWf2IZdAVExUGrk1sqkCYyIf3t6SFzneI44zeVx2G1P/ X-Received: by 2002:a05:6830:1ad4:: with SMTP id r20mr1738152otc.316.1585126771794; Wed, 25 Mar 2020 01:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585126771; cv=none; d=google.com; s=arc-20160816; b=AOn6LU3AzuRYtAiKmxPggyY2bSSltpmBbQiva5cflafUa2k0HeFB3H4okPZZj+sRNb hPBrc2sUdBp85u9SqPklPYLbYRb1NTJ429iAsAfV6ME8NnpUxZa3BlOmo8t21kkwbFVO NnHBqPFI0KN756Og9eI2ftUgd1Kw4iFZqZw88jfR8Q1be0SHNEMDEm1sEgQhYtGKW9n/ QDHYE3JBZM5bVwJy32soMWO1aPgXoD0jR5K1Mnyt2hCY54Zde/D4xrk9Mclgj3FgC6Ig 0+RaV8fAM/uUU/H7Y6JXohUHEu/QgQSxGLEqOA9JDN603qrzV59YL2oNHabovvnRKGPc ODCQ== 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=B8zRdTt6yIkUVVbM326fOCfRhfp11UMp/5TE/cyG0uE=; b=afSysd+rMPT6siK9nwct8LRQlBATd3uGP50Rnxldl1ljwlAZS1ACua7wlD1Hi4EpyE 4afA5cc6DCLarYiDiW4LGjH0XVicyBeQ/pegg3pPQS4IxEqDh0pYHkfV8zMvKLgd11XQ /U6RtGlh06C2xgSY3FDXJzteIM4BpfSfnuipjXD/RWGetobIGsUqw9lwgWP/Gpn05+pq FLKb145ewEoOv2FdGWTpORM/ZJAxk/tBOTI1RjwOP//HUAFAJU+saWZKoezM33OIua82 NcjsHf0zzsnIPj/3zhzsMgkDiAncw9ExJE+y2iEia51HqM3rWbZHmVDs+7nZWRYEhnLA z8VQ== 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 127si10116991oig.130.2020.03.25.01.59.19; Wed, 25 Mar 2020 01:59: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 S1727459AbgCYI6z (ORCPT + 99 others); Wed, 25 Mar 2020 04:58:55 -0400 Received: from verein.lst.de ([213.95.11.211]:39791 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727372AbgCYI6z (ORCPT ); Wed, 25 Mar 2020 04:58:55 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id C17A268AFE; Wed, 25 Mar 2020 09:58:52 +0100 (CET) Date: Wed, 25 Mar 2020 09:58:52 +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: <20200325085852.GA23786@lst.de> References: <20200324161525.754181-1-hch@lst.de> <20200324161525.754181-2-hch@lst.de> <20200325083012.GA21605@lst.de> <20200325085524.GA28706@sx9> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200325085524.GA28706@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 09:55:24AM +0100, Fredrik Noring wrote: > > 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. To enable ABIs you'll need Kconfig symbols, cpu_has_64bit_addresses isn't going to be very useful for that. Which kinda rather was the point of this patch - to use the existing Kconfig symbol rather than two redundant defines that caused a lot weird cargo culting. > 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?