Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp100119imj; Thu, 14 Feb 2019 16:13:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IbCoNYiREx23mh+GxFTunbh35598lWhiZ/vaxr+syrMeRm0ulnu1wdPpfQ/0AQHDXQh4hdl X-Received: by 2002:a62:57dd:: with SMTP id i90mr6914008pfj.154.1550189612278; Thu, 14 Feb 2019 16:13:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550189612; cv=none; d=google.com; s=arc-20160816; b=bXEjAL3jZzOBB0dwyz7RivX2WTJa+gwKrRLJ+e5YthHC7hhI4P4OSVN+dpVPr7QrPi VzirARKM++jUlSnrKtXiH4SpL0DiF4AFJocGLS1si43Z5G/yGSsyvOXnga4gTHfwBLF7 qLpM40YJ6/BuXbDQv0oajfDes0RjpX8QFq2XDo7/Cxv042LVaf2fVboFiS5fC8yB/A31 a3Is30P6WP6+6452t506KcPEpVrBgK99wpjbiQnQS+Qe7vX8/D9OY6e56Oz4fkyZkMc9 96WiG1TuE4PwOMo2ZvIkke+8n+Hp9DH3DxiJ4bc/mRNQDQIcl5LlqCL9kUVV74hxtcVl h8Rg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=okUwTyEeH6/l1M7Q6lKQuzEi41SPX2N++dZHkl6IdSI=; b=Dp5ehrBxW4boQkrlcWSY3gNYgV2pTe83lPmCgxTQK/qJcwARKf3Og18/GYciq+5p0x Zq397k2gR0Vq9WzBEDC2+i8IrnVZo5VEwSoHSn5HibRMTxvaOXN8LCvXcpIC6QYWEOWz vSk5JoS5jVsZQDJ3W7GpeR+YCqm1PSAP82zCEsZi4Dll2tjAyr9IHX3JJm/zHFnslkQz hHaqTFwJdZX012HPLi+szpZkrrvRnlLwDD5RVCB5ZFJ+07AXDteUJ8qDPLmFQI2DYUIP +sVBl2qEVhF6mBKeitQUs2ah8r2uyBVGoXOabf4lK35XKddfD2rgeuQAGlx/k0vmKzij I5CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=lAGM5Fmk; 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 h3si3724365pls.376.2019.02.14.16.13.16; Thu, 14 Feb 2019 16:13:32 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=lAGM5Fmk; 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 S2501912AbfBNOx0 (ORCPT + 99 others); Thu, 14 Feb 2019 09:53:26 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38901 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2501898AbfBNOxX (ORCPT ); Thu, 14 Feb 2019 09:53:23 -0500 Received: by mail-wm1-f67.google.com with SMTP id v26so6384851wmh.3 for ; Thu, 14 Feb 2019 06:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=okUwTyEeH6/l1M7Q6lKQuzEi41SPX2N++dZHkl6IdSI=; b=lAGM5FmkFOzhuGm8hihDzDp24yLDTJRuRFhRnXooQn59nuqRkQdRXYjYS+8XDL3gTC zY3aEFFjnt3WX1j6Bo0B+ego9QaF5Lj/7K09jV2Tv/pHhH7u3SdFwIajiN+z+BdmD+iA HoF8FMrHBtZq4nrY6lLEr5jb1M5feRLTLEz9xk1qhWnUk95tpFTz1w+Ym2Eey2EyarEE CrhVAihTS6OK+qqN1pN3NnVxD+Adg0e5/NOUbeHxwZfuGYgwx1Q77YsMiYxo8ZiLiByR 8Rd9G5MXFu8rXb6aG6wdBJdb7hoNwNR5GB7ql7xBvy6CV/JtRnwaWGfDbm4mWxxTuthY yqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=okUwTyEeH6/l1M7Q6lKQuzEi41SPX2N++dZHkl6IdSI=; b=d5Oy+rKcmc3HpgVLIpClWPnYTv4HiXXJoM1Yz0x96nG+G0Tf40LdAIYHLdCPXI7d1a 2KGaX/CXIpawCXMIm4wFWgxaMuRvA4HvBCEn1Jqxajz3GmEJUwKl808GqDpkskOHYGDI ac3q2eoS9glZtUtnL33Qyj+/EH51v35/sHO/RCLmbHSpAeo1w05gJmQZns8OLpS+NeoS aqBNC0f2JQyrMopcY52FUKYIhOqBsAMr1MdQYTRTd2JyoscY6BCh9frVIIPS0czN6LNr xfm+F1voU5vgDfTMkcsmzciXVG8+LVwjGIVY8e4Nm+/IdUdBGjcNtS4X6LB99et3Z8jy jBvA== X-Gm-Message-State: AHQUAuYH0pkNdfnW72I+sQeJsxr2ctQlAzdzWbSGM3uZ1By6/TwErAyf XEKsGwim19zUJpSPhKQ1+hNXsw== X-Received: by 2002:a1c:c282:: with SMTP id s124mr2953977wmf.105.1550156002069; Thu, 14 Feb 2019 06:53:22 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id y20sm4181005wra.51.2019.02.14.06.53.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:53:21 -0800 (PST) From: Bartosz Golaszewski To: Dmitry Torokhov , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 33/37] ARM: davinci: cp-intc: use readl/writel_relaxed() Date: Thu, 14 Feb 2019 15:52:27 +0100 Message-Id: <20190214145231.8750-34-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214145231.8750-1-brgl@bgdev.pl> References: <20190214145231.8750-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Raplace all calls to __raw_readl() & __raw_writel() with readl_relaxed() and writel_relaxed() respectively. It's safe to do as there's no endianness conversion being done in the code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c index 1bf11fa8be76..f88b7f0978aa 100644 --- a/arch/arm/mach-davinci/cp_intc.c +++ b/arch/arm/mach-davinci/cp_intc.c @@ -45,13 +45,13 @@ static struct irq_domain *davinci_cp_intc_irq_domain; static inline unsigned int davinci_cp_intc_read(unsigned int offset) { - return __raw_readl(davinci_cp_intc_base + offset); + return readl_relaxed(davinci_cp_intc_base + offset); } static inline void davinci_cp_intc_write(unsigned long value, unsigned int offset) { - __raw_writel(value, davinci_cp_intc_base + offset); + writel_relaxed(value, davinci_cp_intc_base + offset); } static void davinci_cp_intc_ack_irq(struct irq_data *d) -- 2.20.1