Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2089885ybl; Thu, 19 Dec 2019 07:58:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyZ+usHVx3ZgWednk54bVHGK13btENeWU8ga0NruLzZBulscd2y15ircG5P/WBrnx/T5lC1 X-Received: by 2002:a05:6830:1f89:: with SMTP id v9mr9123120otr.90.1576771084993; Thu, 19 Dec 2019 07:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576771084; cv=none; d=google.com; s=arc-20160816; b=L6KtzkASbfKayCX6TzfnaO+6YqIWPO1rFqencqXJ5YKKY0w9wuTPSg3WN99v8RCRoj WoIRCvVkSP5/QoNf7cd+ZhXK10iwdRWnyTEcrlkBa8ntH5HbuhQ73ejVkYTkNu5UKTne PxJZ/SUvTdKQEkEv3E+fvnnSnGGTv5ZKlfNKSQIGrKUZvsrtPpi9pfDt5kw5JQY4hsUx btXyq3vNmaJ2dhY+yrjHEZn4fn9OQ5NRYigAff3FjxYdmsCaJMPBbhJDJUzFpoH39/7t W6eyQ36d5j+z445VnvITxQ2+7rm+2e7Rl4gXb4jF26O2LRREHM5eE690RipbaxF5bIGN EjUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=312M4RcfgcIWP2eLvHgwA8QKKo6QbTeQZJEatPfim24=; b=l3zOC0Dv6Y6gEtNDw9mWlb/WXy6H4zDLJWt9CilbNu9MjgXEYrbQL0Wgdcjp9ot+qF 17i/hbPUypubbqJauENbborvcutw0u22fhzIXbiqrb1kb0OLmBTE3cNag50k+S3mA+6i sOP0e246bhMys+YQxD9Kyp2LUKe8b6Pm4uNsShjYbVANCIYFYMZVVpbJ/je2aKOCzAwy 8/oIEewEANNoDXN3Amafyay5nIXRiuOAEjCCjeT7/Y0PuYt2I8RxzrXpmMcuAxqxXOuT Tb5A4lo7hGA/prm89nvQL726H21um/N+0EfBdwDTKx8pYoWvuDAge6zwshJZOh7nEZpg zb4g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si3352790oii.37.2019.12.19.07.57.54; Thu, 19 Dec 2019 07:58:04 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbfLSP5N (ORCPT + 99 others); Thu, 19 Dec 2019 10:57:13 -0500 Received: from imap2.colo.codethink.co.uk ([78.40.148.184]:54632 "EHLO imap2.colo.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbfLSP5M (ORCPT ); Thu, 19 Dec 2019 10:57:12 -0500 Received: from [167.98.27.226] (helo=[10.35.5.173]) by imap2.colo.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1ihyAn-0008Km-JD; Thu, 19 Dec 2019 15:57:09 +0000 Subject: Re: [PATCH v1 1/3] gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors To: Bartosz Golaszewski , Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Linus Walleij , linux-gpio , linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, LKML References: <20191215183047.9414-1-digetx@gmail.com> <20191215183047.9414-2-digetx@gmail.com> From: Ben Dooks Organization: Codethink Limited. Message-ID: Date: Thu, 19 Dec 2019 15:57:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/12/2019 11:01, Bartosz Golaszewski wrote: > niedz., 15 gru 2019 o 19:31 Dmitry Osipenko napisaƂ(a): >> >> There is no point in using old-style raw accessors, the generic accessors >> do the same thing and also take into account CPU endianness. Tegra SoCs do >> not support big-endian mode in the upstream kernel, but let's switch away >> from the outdated things anyway, just to keep code up-to-date. Good idea, I think I got most of the way to booting a tegra jetson board with a big endian image a few years ago, but never got time to finish the work. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html