Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp104762imj; Thu, 14 Feb 2019 16:20:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IZiRqKdhTMs2dqJ/H1ncH5+nUKGpSiZnwg1o2jCkta/U/NqLbyTJmNC1hE1qbZesq66PAjB X-Received: by 2002:a62:b2c3:: with SMTP id z64mr6883624pfl.149.1550190012088; Thu, 14 Feb 2019 16:20:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550190012; cv=none; d=google.com; s=arc-20160816; b=tfKGg84jPlwp645JDO8RAuzcaMtS/CB8Pqrk65RK5kZDGORHSfoxhuZfxh/ygpfsWF UCfNcPhlxuLi6yWQvLr2sBcJ+fY7EopuC74jWRz6322OAWWX2bz2NRUl+bhy3nquTxB+ dZWgAcHsuqcria1/DYKLCYJbEddog0j0reMzLDUPzmyhWJlBf21UpLvdpDXVeA+Pcf4D UQCb2S8ugMtjjNnzbY3PTzrI3GdHW85lBBGuElfSCSKrxmrZVVPVEuex/DtSZ4pnkgSY 865gBnSPNmxwGWxqylUNIQ6GL2bypbXDVD0fSXLwurZcerDDPq72xx3I8T5kHaisbmDf FcTw== 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=USRlKAODwGBhkc4t0PSLqGy7lcGY6/I2eL77kpLurCo=; b=iJz7g9kUEW9tqbBS+U7ZJhhuOSPdLhfV6ozkRkS2Fk2wE/45p5V/0kjR0AECsIyYba RkZYVaW7UN3+xbXeklnX+m4SwbZWSrtQfzJIuf2LKBeuCSaSm7FlLzbnvwDg41YXASMU 7Z/bCIknEERxIXaNA9PFMBrJKd0xyBbU1q8caHIbIkra+IHw/nr6h5dSxw59sSUm71GO aJ3Rrz9IspY5OuNq3Evdeaaa+JbAIuUgUrz2rZfANA+Q/I8VgMPPS9TfOVsr0E60OhEI OZuXCRVYKaG1a6B/awBGff8xj0WrNtSIpDymUS76PCl6KG/+uFgs8WIPIeOOWUllrPaU EC2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=UvlOOgQs; 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 d188si3656602pgc.97.2019.02.14.16.19.56; Thu, 14 Feb 2019 16:20:12 -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=UvlOOgQs; 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 S2406949AbfBNOzh (ORCPT + 99 others); Thu, 14 Feb 2019 09:55:37 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37837 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439532AbfBNOxC (ORCPT ); Thu, 14 Feb 2019 09:53:02 -0500 Received: by mail-wm1-f67.google.com with SMTP id x10so6328030wmg.2 for ; Thu, 14 Feb 2019 06:53:00 -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=USRlKAODwGBhkc4t0PSLqGy7lcGY6/I2eL77kpLurCo=; b=UvlOOgQsPQxHmkJ7szJSM5p54chW53QnoTkbSc3MyZnIj7ziJg93BwDcuBcSDW6Dek BewEUQvoGbsMiqyS5xuJ/Qjz7ZShbG4qd1gxlrRCrGTIVgMnPmvBOqX1tMmUcFULRqw6 O6EL7ZvsoqGEM7pA8YPJ6amyjxJySJ+GKecTKqGbcCK9372HWQGUC3HUFxDzLKJGSAnd EFhQHM6CqCAZMnmtkDWwbzzf0v7T1w3zCZ2UN5ffj5E9iqnUOtA6U5VEuIcMO8W/RTe6 2BBVwcjPGg0BZn1JMERMVG5Zm//RUNLVXPKFq5QJR7h2vD95e3uFW9tGlsr2JS7hvfKI vvBw== 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=USRlKAODwGBhkc4t0PSLqGy7lcGY6/I2eL77kpLurCo=; b=IjaTTh2Uc/fNUtRUJyhFxz/yMh5C1vORo7l9+Fg36FoyM9Mr7LmFW5AvzIQ+nn94qy QEjyzJoJY0ta14XG/BOnWYrT2Dn6ODG0OOXW5AFyHBqgIuhsPkDTnmm/lAhG/FnoPour 29CaTh2cHlAxledNIn/J+EA8CWaTq1Pm1Y2NHdH2xtWpzWqEgcUfuXCSBPYtijN4lmsK xakI2w40vnCHbqxsRChuyDmqLL0XdDI86dsv/dbQ7UBiC+pzqguPkLZotIHHE/MAz6w3 57mpDzxudxFO/4eyS7MXg77+mFfbJG4tHXtECXaBtwpmZzFx/PFm/aG3W9dLq19hKURd 5YAg== X-Gm-Message-State: AHQUAubDjcjKUscG0mjyHp4OTGhZJY5ikNkx26nHGYM7eb2NH7bM5+3Z hdnhJXa/PgEygW/SDr9D8iXiMQ== X-Received: by 2002:a1c:eb18:: with SMTP id j24mr2874081wmh.119.1550155980091; Thu, 14 Feb 2019 06:53:00 -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.52.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:52:59 -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 14/37] ARM: davinci: aintc: use readl/writel_relaxed() Date: Thu, 14 Feb 2019 15:52:08 +0100 Message-Id: <20190214145231.8750-15-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/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c index 2df91fc0dade..509be44eda22 100644 --- a/arch/arm/mach-davinci/irq.c +++ b/arch/arm/mach-davinci/irq.c @@ -36,7 +36,7 @@ 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) -- 2.20.1