Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2135220ybl; Thu, 19 Dec 2019 08:36:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzW9mW/PK7b0dICitT5OLN6H42wfPNGDKvgxUiDL6ZdK6BOtClBHx0tE0HKD70Vqu3GTU6O X-Received: by 2002:a9d:7a88:: with SMTP id l8mr10157960otn.187.1576773390401; Thu, 19 Dec 2019 08:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576773390; cv=none; d=google.com; s=arc-20160816; b=PcoT5Wpsv/Z/wPIaQ4g54rsII73SOe/R3K8gPkXiC5jGmx+lHaaxMcZM6cQ/cUi/kx f1aPaoFTffF+iZT7XlIk7k+FYblDs91crEmSzaFYMPGxTe2Kupv0/Vedf3N6AzDE7O5G yr0pL5rGhkIbv+fu9Qh8MYKTKBgZI50bEoax/bZOORyypEBD81M10bllMHxtaztO9pzq VPZXVxsgUbFErcn4siF7YXeRLh9KsilpK9/AdG+qm1Egq7mjeVQRXArNwmslewApelpN qKirJ4a5lBzg+6rU0ODYeAItibLqyaeE2ojpb6XeLKaUIC89rz2DNwiqu/XJE/t4mSDq /OZw== 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:from:references:cc:to:subject:dkim-signature; bh=NbGUxJZschh5pU5eBUWoyfxmgLY0Jtie4Fq87j9uajM=; b=BLGnUVH5WhWvOLFVgWN8pyDIYTOFyS5Lbs7iiZ5pYozbuNMqpOBKedKlPBp87sO2+U Y21KetLg/XrQmGC53u0N2fUbCG0F957wbNSU/I5E4aqy+70rcg8NRkjCdww1RiDFxzSg OcP0jspFCH8I6ty38tA2BxzQh9xjbOidi2LTNiv/1cSAGH0G5U3Jr1lGWUcvwQ6ALlKM tnc4XhtDDQk96MXkbccXPJ9hsbMLcqgtxF0b7bRqUAAmoLrfKS0WmGKa6Zwxda36gtuM tbmMUmJ97TPuWIsgZEtZW4a2U5ghIuYT0pnP0M4OyQUg3AYvB69ni55yBjvhh8V4e83x FB2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYwP12aO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si3619237otq.203.2019.12.19.08.36.12; Thu, 19 Dec 2019 08:36:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYwP12aO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbfLSQeG (ORCPT + 99 others); Thu, 19 Dec 2019 11:34:06 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35393 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbfLSQeG (ORCPT ); Thu, 19 Dec 2019 11:34:06 -0500 Received: by mail-lj1-f194.google.com with SMTP id j6so6931150lja.2; Thu, 19 Dec 2019 08:34:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NbGUxJZschh5pU5eBUWoyfxmgLY0Jtie4Fq87j9uajM=; b=fYwP12aOi9NdXLIYBDuMsIPSrXPApDqz1POx12Skp5WX/xXXSTSsF/HVtd7Wf+G4AW A/0iKnvcDCBdN1udrsefmIgBSgvsHGMPH+bPozR/f2ZCXuR22TgnzCUey7Z3WTX4S+o1 53PkDayjk238dAMSO1Ha21+HUiLGYI1RCrorqWH8TyP0jAgeriBPEypujR22PRj9mTb6 dKJEZew4DEO3wEQQ9ncPmtx0a1F39/sVZt2iqF6ZYsO4uNPDxohorTYg/IGT/nF6AZTC w7sq1iAHf9La7k5GuZnXwUr6wJk1wAjJyWRjx/nvLWwE4oUBQC7s093m1MEvX26GuXFj /9jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NbGUxJZschh5pU5eBUWoyfxmgLY0Jtie4Fq87j9uajM=; b=SYGwakmBD1qRWQWXX7dtnP+oQztbo7PtVWajWnaobPwRNXkAoLkyh1KDPZEdTCUDnm EYOpppi9T3vOXATh/fOk7WsyNcdtzKNgKwdqvJ6ghHr9MPzT9YbBlX2JjCSMWJFhB8di iTmxJELugFxZ+JNd2YC7mF45WTExSPPyZG83QJ1nXoI9B34gqTaSV9J+72gSEapYeamP ZK5X5AdVf873Oj6j1+MDnFpxhlTx6ZTaziqks8etHBnJk7O/xsDZe51FMUCHgJB2xgnK qaarNE7LyvNsgFdwsAoovs8l5b8djjr4Vd0LfKKqnYrreAcE01xrh9mwBemCRIqy8JmM M8Eg== X-Gm-Message-State: APjAAAXUNT2WFrL83/gbt0MaQ2eYU25rGGcqahfaVVC7y2VpPN3NVelw pvQJShpOLS8endQHvv4Di/M0xYw/ X-Received: by 2002:a2e:91cb:: with SMTP id u11mr6801694ljg.82.1576773243568; Thu, 19 Dec 2019 08:34:03 -0800 (PST) Received: from [192.168.2.145] (79-139-233-37.dynamic.spd-mgts.ru. [79.139.233.37]) by smtp.googlemail.com with ESMTPSA id g85sm2824824lfd.66.2019.12.19.08.34.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 08:34:02 -0800 (PST) Subject: Re: [PATCH v1 1/3] gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors To: Ben Dooks , Bartosz Golaszewski 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: Dmitry Osipenko Message-ID: Date: Thu, 19 Dec 2019 19:34:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 19.12.2019 18:57, Ben Dooks пишет: > 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. > Thanks, I remember yours effort in regards to the upstreaming big endian support for Jetson :) You were pretty close back then, but Thierry had a different opinion in regards to maintaining that support in terms of having extra testing burden.