From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3C88C3F68F for ; Thu, 19 Dec 2019 15:57:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D510324676 for ; Thu, 19 Dec 2019 15:57:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbfLSP5N (ORCPT ); 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