Received: by 10.192.165.156 with SMTP id m28csp1206493imm; Mon, 16 Apr 2018 16:19:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XZur9RgcPH6uYpBP779KlOgazzJ1LA2UjPW5wrAIkAhgOTRBQOPGngsUNnEcnstAs+Mzc X-Received: by 2002:a17:902:4483:: with SMTP id l3-v6mr16738374pld.282.1523920757335; Mon, 16 Apr 2018 16:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523920757; cv=none; d=google.com; s=arc-20160816; b=mZtkhpm6e25Us3DFwTReh3XxLG9hc7yUaQUkHW4EVP2qfaMpfC6OZHWT+87T+q6OCL cLv6PPSosfcv7Qo7xMQxjlMnVFSIZLkCQ56PtDnyoCrOnN8so7lTWhbScAcGcp7iShDy UrZZ2CJ5fIm6NwCCH7i6NhbxKbcrRGu1JNMBIKoU17l7l/tvKfxDUt77QUrAMe0Y075g FPL2gmhj0QLECxk9Tb782a42cjWGE8EMA6jbdgA0mvk2rkihlWZAiUoDYFx10nQzdMAZ ExRIfnLDwgT56YLR4YZuoWeWTHcFefJLJxzVkFP0LE6FVAk6dE++Xe+EZm9/Df+Rv+nj LYYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=HMZZ+vuNL+ySDodU2nqB09b/Ef45MM4Qe3EeXU7o7f0=; b=SChHd7SAhFJeyQT1Qjl5ul6otUBE7POGlA7wWWWK2xczSOmF7dNXWYiQPIqqU2b4yu EevcLQVB3V1VsNTENNEPh417Q/Ey/PhgK0owAugImRLV6C/lBzWfevu+1AaROwFAoDG3 uRjgM9K8V4WPucxTcbesxM2STPrJiAJMfTclORzKLs+VGsKN8LM3n8MnWWwf6OhQdlDI QNfOjGPQD9U14GBXMyFudlh47xN3mYCtGWeYIVaW84jMaWuhVv4ef1LZxB5eIBRBJgjj jO7LhhmTeEPEX0Xb89j+Mosif84XqctI3PUYm70VEAx3Ut3GJR42B0yVV+2VNc2XLajI tbnw== ARC-Authentication-Results: i=1; mx.google.com; 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 k137si2792571pgc.493.2018.04.16.16.19.03; Mon, 16 Apr 2018 16:19:17 -0700 (PDT) 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; 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 S1751200AbeDPXR6 (ORCPT + 99 others); Mon, 16 Apr 2018 19:17:58 -0400 Received: from simcoe209srvr.owm.bell.net ([184.150.200.209]:41104 "EHLO torfep05.bell.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbeDPXR5 (ORCPT ); Mon, 16 Apr 2018 19:17:57 -0400 X-Greylist: delayed 492 seconds by postgrey-1.27 at vger.kernel.org; Mon, 16 Apr 2018 19:17:57 EDT Received: from bell.net torfep01 184.150.200.158 by torfep01.bell.net with ESMTP id <20180416230943.OCZG3030.torfep01.bell.net@torspm01.bell.net>; Mon, 16 Apr 2018 19:09:43 -0400 Received: from [192.168.2.49] (really [69.158.175.55]) by torspm01.bell.net with ESMTP id <20180416230943.UEJY26298.torspm01.bell.net@[192.168.2.49]>; Mon, 16 Apr 2018 19:09:43 -0400 Subject: Re: [PATCH 1/2] parisc: use the asm-generic version for writeX() To: Sinan Kaya , linux-parisc@linux-mips.org, arnd@arndb.de, timur@codeaurora.org, sulrich@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "James E.J. Bottomley" , Helge Deller , Thomas Gleixner , Philippe Ombredanne , Greg Kroah-Hartman , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1523916078-23049-1-git-send-email-okaya@codeaurora.org> From: John David Anglin Message-ID: Date: Mon, 16 Apr 2018 19:09:42 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1523916078-23049-1-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Cloudmark-Analysis: v=2.2 cv=JtkelIwC c=1 sm=0 tr=0 a=V8DPTAhloC/wURew+oITug==:17 a=IkcTkHD0fZMA:10 a=Kd1tUaAdevIA:10 a=FBHGMhGWAAAA:8 a=M82E00bDOwz00zPftycA:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-16 6:01 PM, Sinan Kaya wrote: > parisc architecture seems to be mapping writeX() and writeX_relaxed() APIs > to __raw_writeX() API. > > __raw_writeX() API doesn't provide any kind of ordering guarantees. > commit 755bd04aaf4b ("io: define stronger ordering for the default writeX() > implementation") changed asm-generic implementation to use a more > conservative approach towards the writeX() API. > > Drop the arch specific version and rely on the asm-generic version for > parisc since parisc version doesn't seem to do anything special with these > macros.   HOSTLD  scripts/mod/modpost In file included from ./arch/parisc/include/asm/hardirq.h:13:0,                  from ./include/linux/hardirq.h:9,                  from arch/parisc/kernel/asm-offsets.c:34: ./include/linux/irq.h: In function 'irq_reg_writel': ./include/linux/irq.h:1114:3: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]    writel(val, gc->reg_base + reg_offset);    ^~~~~~ ./include/linux/irq.h: In function 'irq_reg_readl': ./include/linux/irq.h:1123:10: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]    return readl(gc->reg_base + reg_offset);           ^~~~~ cc1: some warnings being treated as errors make[1]: *** [Kbuild:58: arch/parisc/kernel/asm-offsets.s] Error 1 Dave -- John David Anglin dave.anglin@bell.net