Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2529199imj; Mon, 11 Feb 2019 04:30:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IbUi2c4CZ69MnVS1nT70n0pat7LO9od2JkaUdKHPsbrpesUPCZpZpW/l3lh5pBFsjnVYKRN X-Received: by 2002:a17:902:8ec9:: with SMTP id x9mr37667854plo.27.1549888213580; Mon, 11 Feb 2019 04:30:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888213; cv=none; d=google.com; s=arc-20160816; b=S8YpTs4SbOQpN2bLI30nVXNWk9WLNba7h5UAygzlIHT1InjHVOaXNCoxiLl0QWP+5n JoswZiNCeNf+GQizJc7kzXinjUwQ7XGUUzge28skokxf6yiBkIU2UDOZMl7rEkaDAlTk xm2Fd/QKbrroXQipNhq4JAF9puVornKdqXlTNd1MKVqF3Q2WU+4pVjL//aiLi7CA2ilt XkMLIkklE6b6HM1UG92dqY+gOWjbYlT8/Jeo0BAjTwOBzrJ9imnNIua71fBeig1ILYWy ECJuv488FH0xba7FvYfeDy9vxZ+g2r7XnDzUtyCwRn26RP8TZd219ZCDaFeCrSvJiGSB 5A7g== 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=5xoYgZeFd4jbYH06UIuAag4pMtuSlF7B4aVziE0WwaQ=; b=KbyNT/JTo+MMOgpl4QAvLeiEAl9sCN1383dvsHGNwcj9W0TZBu0NVLYVbQ3fWP6asQ xewkDutqTtFVlYwnH2HnyKmGII+wh8BB6lJMc5JYOZjQZ7Po9od7azRJ+t3/4Jdhc0+U UvWeELNqDdqc8fqCZl+C0/dqgponiaqWPPM0jo81YnUNtKlpUwpu3vz1DGlfDwzKHC3G 0uxiGkVnlAq6/ISaPYpw0v1cj18vg2gY34fHoIIgVWzSQKGqYNF4LeUk6R5hOGgY61/9 XwFU5455DFkP2ULWEH14Flr0Ul1H9KAr/nQisCN+fEV/Vm0Ps+WlCdeTEGh/b4vdElqn rSJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Ob2V0uLk; 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 n78si10165076pfi.235.2019.02.11.04.29.57; Mon, 11 Feb 2019 04:30:13 -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=Ob2V0uLk; 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 S1727703AbfBKM2h (ORCPT + 99 others); Mon, 11 Feb 2019 07:28:37 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46906 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727574AbfBKM0b (ORCPT ); Mon, 11 Feb 2019 07:26:31 -0500 Received: by mail-wr1-f67.google.com with SMTP id l9so4428823wrt.13 for ; Mon, 11 Feb 2019 04:26:30 -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=5xoYgZeFd4jbYH06UIuAag4pMtuSlF7B4aVziE0WwaQ=; b=Ob2V0uLkmrtuwWtPxVud0yokG4gomj2iZaQcTLHVWFokz4yCSMGB8kUdD1F5saDez/ KqmOMG5mMi4nkjI1W43r+rrCdfaWJYE6T+EdJW1wUyPMsgZ6N8kBXLhpxfLCx04jRfgx KD4ZMBv/6Awwst3KuHkoFz91hPJphJZQlteMEzkr9tQT9LS3lNDvYrXAuIW8n4/yzEG2 NyeiivWPLiJ3fWVjHRmwfYy1tkgFkXZGw/mPV9zQJ8ai9ee2Z1VYFL/nM/86NpFoPvMV O5tBGl0b9u4u3QyHX+0M5KaYPm9inYKXLjAE3uMpCEBGYtW3uy7RQQKiYRtlatJ6/hxd EKKg== 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=5xoYgZeFd4jbYH06UIuAag4pMtuSlF7B4aVziE0WwaQ=; b=GStt56R88nmi2DyjiKm+zawn+/i1+EEyzIZ9NrqKb+CPv5fkIm94TsbTQ1uo+Wmq8z lfRtX47u5fNCYyaTRabVI0pvPjWakrEkxByYAwWs/SHaav16QdilEsytm25fM+Ajfofg EMr9rj2o4QVJgovLapl/wnS9edsbXt7LsyZHQWrtFA4EIcaa2q8aneT3wcqPIGWxTCqx BoF2gp1FMOMQhuMZvwlMpu679lcYaZt/WIchMLJkhX+wfiQ7MX5JP3Uk8luKbWnHtfme nXjmbqytzligFS92bDbu3eZH/WKx/Uf0ON76LDMN46jnMON4RuPOeTLx5k6anS1fs73g kgPw== X-Gm-Message-State: AHQUAuZ2+3ZvnJw7sGu+oR8xI8EIBTTmAdaf0ZJzuH4YQZHfvvl47+KV L8mZc5zrxbMEjpsiQYma/gfNgA== X-Received: by 2002:adf:ee46:: with SMTP id w6mr28055297wro.261.1549887989765; Mon, 11 Feb 2019 04:26:29 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:29 -0800 (PST) From: Bartosz Golaszewski To: 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: [RESEND PATCH v2 13/33] ARM: davinci: aintc: use readl/writel_relaxed() Date: Mon, 11 Feb 2019 13:25:46 +0100 Message-Id: <20190211122606.8662-14-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-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/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c index 148c23728bdb..6a7205a844e1 100644 --- a/arch/arm/mach-davinci/irq.c +++ b/arch/arm/mach-davinci/irq.c @@ -36,12 +36,12 @@ static struct irq_domain *davinci_aintc_irq_domain; static inline void davinci_aintc_writel(unsigned long value, int offset) { - __raw_writel(value, davinci_aintc_base + offset); + writel_relaxed(value, davinci_aintc_base + offset); } static inline unsigned long davinci_aintc_readl(int offset) { - return __raw_readl(davinci_aintc_base + offset); + return readl_relaxed(davinci_aintc_base + offset); } static __init void -- 2.20.1