Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2527429imj; Mon, 11 Feb 2019 04:28:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYKfaVwHZs2HwtOxQTQcdaYyjonb1X7APmy5plFTGxvDyY/7YBek6szN8IgjsR5Eh8BoMeB X-Received: by 2002:a63:1ce:: with SMTP id 197mr1387882pgb.47.1549888091783; Mon, 11 Feb 2019 04:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888091; cv=none; d=google.com; s=arc-20160816; b=SXhLhrJvbfYnmlRH38PD7hZir2c/vIzks8G6xMM3Nk4Brx83ZQg0jGjU+paubqlUAb eQDO/7SNLHb2Yilt1Quj8ADa/W/xYAnJcSaU5fbOkkRXl0f++Q6vjn/Vxz+Ids2cyewT 7llIy7CsBeutLIwYoB3Jv/GDbrioNQacmYroK0pgtPnGyb/KizQ2L5WKGsZp9fWth9eN OfrmLkFTuDwtVy6WnZ8xfXxhMw3DPaMc6YOCKwkSjOsUphfcxxyfBYzxisGmrtwh/Njw YKmVg/JGi1AxcQslAbIEMN9Z0mO7z6VZx2r/hd+rJ7FJ75cdvhd8aocB6gnSk9iCR7M7 5cPg== 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=H6mmX1T1Rw0VrOeRhK3Cni5+zNNC71FKpECFu89Vdzs=; b=STFZXDDA8XA1/NPp/XKBSA1rhbH1e52/cGqgb5rGZ4S19UJCMPgJK2wWrR3HWlhkIB HLm/OriuQtMLSZ8Nsv4WwAeZHBXkEBUU7X0TChtLkRgxk5OK2ZUXsvFPPVUEBAxjhAUJ /MQnCznW7U2wrX4EZu+U0nigGPzt/oU4tM7z6OieJUcX0iHxs0RrapcD5FjzqT5h3knE 9xcyEBYTC2Tx/QxHJu5D+a9a+L2Uw2P00WyEO+eTj+EPGFoWSnpdRUQjfQIt+5qQQIOW Mrwn+5Vmyancbef6X17eypcBRqgJxXeiM91juu6ps+SwBn7fWZG4XcH3m0nx07b97R7x dVZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=lt697TZf; 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 gn8si9718567plb.321.2019.02.11.04.27.56; Mon, 11 Feb 2019 04:28:11 -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=lt697TZf; 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 S1727674AbfBKM1S (ORCPT + 99 others); Mon, 11 Feb 2019 07:27:18 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40902 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727721AbfBKM0u (ORCPT ); Mon, 11 Feb 2019 07:26:50 -0500 Received: by mail-wm1-f68.google.com with SMTP id q21so17010221wmc.5 for ; Mon, 11 Feb 2019 04:26:49 -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=H6mmX1T1Rw0VrOeRhK3Cni5+zNNC71FKpECFu89Vdzs=; b=lt697TZfEgnHkZco7R52pJxInRwx3u59akt81q+jrdp6EBmdAu7AZQzbq+b0/jUHNp j5xVuf/8lFcTxvgJGNFNx5e+hux7201Xya4xawCjvt7sZWxZQkLhloX8jxEzBgiR6xVo mK8mVEA8MxNNXxzXE7olDOXM3DV/FAmzAyjyet9slncWfcFhyyzEndUUwlO6vp2DA8QD TD213OjgmdVBincVwp+PO0Ph9N4fhQ2Z+86wesb9Ze389kxYI7FJvJlWdVoPAXFTufLt y5bjMBmZSJONrnDE3B591cs5QtcyHfxEMh2leWM/EfKGh3MA3jjGBD+v0S1MOsecJ79k RpVg== 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=H6mmX1T1Rw0VrOeRhK3Cni5+zNNC71FKpECFu89Vdzs=; b=dO4Fy1gaqLpum+PUYT68SR60sX9dxn+GOaksCQEJqQxNEFVaTpBf2WvvPxlhzlKPO2 cIjau1E4MqSd2w5403lkvTXAPCgz+xB/lLFvUQg/7F1Jtn36VaB2EkWNMYep6fWS4DTe qrNszY7rrs3sqT9akAI5X4C2+PSFQ8IoQ0bnJRBDmscT0Z4+xAnxnBovw4cs1BAQVh82 QwLPO8BMqe0Uyzfu/OoHGpmiEpzgGh14AfhblUsx4yq0MqOoCE9C81ouq0QEVLJiEDNn EyKDjtmnrZXFR4cG4evEzhh32xGO2cBM2hLNymOB/Ww+hO/NV6ySF/arGGXl2SAi2yHs SpBw== X-Gm-Message-State: AHQUAuZtrF2t9bLAAVazIWNQSgs1lxOQmuj9AANvh/4NL3YdfrJD7foz kQ+hjcdzDQaVQN7+vt8t7VBgrQ== X-Received: by 2002:a7b:c103:: with SMTP id w3mr9614921wmi.41.1549888008827; Mon, 11 Feb 2019 04:26:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:48 -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 29/33] ARM: davinci: cp-intc: use readl/writel_relaxed() Date: Mon, 11 Feb 2019 13:26:02 +0100 Message-Id: <20190211122606.8662-30-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/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 c1efb9390655..4bbf0eba1920 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