Received: by 10.192.165.156 with SMTP id m28csp1397647imm; Mon, 16 Apr 2018 21:13:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx48vGj/VsSmiag+d96ca5YVltHOqwg+YN6XcaQBJ0JppHOLawB0lGaoIgqZtz3bdhGYeWgBi X-Received: by 10.98.57.156 with SMTP id u28mr520616pfj.95.1523938416543; Mon, 16 Apr 2018 21:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523938416; cv=none; d=google.com; s=arc-20160816; b=cMg3yxEHf/SN36rnmThKCwkz237kQEg1kPwxyYW4iP0tXnR5WyHoTmvq5oyx4Fg7BN N79tFL/iTU5S2rjEb4LqsFSgRH46ySEdAUgrKGrI8aVD08yJxEyfrLGJ0bReG2TJdL+2 frmx68NnyuTMHBKtSs+rrunukRxhuBiOvUWJ9yrgN+YAjU54ZSU7w+YGvw9CtAEEk6BR nqKar9Yow7Co6DmeBlC7WI4wlVAfcEI3gBey7iBxEImDzboVvy1FZMILok3aiNqf2B3X n0IlIMn/cK+MHsr1a+ZRxUD9YeD+ZTSOC/69Gtg8605CDVHXvN+T4A0CIC2lRO54XEuq z6iQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=mnj9JH4cC79d9zk6XhJplsUr/IknAKenob47F+Lbd4I=; b=X5QJ6jPjmXtxTphuInul0Oz7eKJDHh3c/0Az7RibvDsPvJWttgD4m04BnNZyl1j9do GOzWw786D/A1oQh3papOWkE4UK9Q/I1l0QXbTDJyPg0Yef8/JM/zr1MzgLAm3Ms9vmny 5rHQ8Ipn29h995AuOERYjUp7JrTdTkvdTwVrmLwpou8CqHNFiPqrXKsIY8398SF3ZMRh DM05rblhfY5NGti5b8WyIWUfjKdlv6tIlKCbgeq9LpQ18R+xAgpXGbenMBGX0xI74EAH B5FNhGBWr9TMaq6lfmdiBMgi22Ttbp85CfAlVQJfudf6uoQovcuX1Rw05DsVEYBT3MIG yJ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=G1Sn4Gu6; dkim=pass header.i=@codeaurora.org header.s=default header.b=O5IhJAmk; 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 1-v6si13453881plk.104.2018.04.16.21.13.21; Mon, 16 Apr 2018 21:13:36 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=G1Sn4Gu6; dkim=pass header.i=@codeaurora.org header.s=default header.b=O5IhJAmk; 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 S1751203AbeDQELp (ORCPT + 99 others); Tue, 17 Apr 2018 00:11:45 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50774 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbeDQELn (ORCPT ); Tue, 17 Apr 2018 00:11:43 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 36E4660C65; Tue, 17 Apr 2018 04:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523938303; bh=/Q7gqnZvWRmUdYh4x8owhF1WyKYpTtsSIxuuoyvY/2c=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=G1Sn4Gu63J/Ah9GQXs5eW62rAu1dVIgWxxRWL8u5TutsYn0dxXuyd9VyUuC+4F1TF uJbHZ8OIQgKTkXzjLFNlexUw9sklHuLe51AfIpSlqjYfsAmViwgCQnIp3DcsWWQ4yB UysUF/ue1+HANzcWnQ+sayuVUxTA9U/O+RtCJk6Y= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.105] (cpe-174-109-247-98.nc.res.rr.com [174.109.247.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9E537602B8; Tue, 17 Apr 2018 04:11:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523938302; bh=/Q7gqnZvWRmUdYh4x8owhF1WyKYpTtsSIxuuoyvY/2c=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=O5IhJAmkbzRRlj1w53Y6i+rLdAsD8i/gnEuHJps10Xkj8Pqe4End8Ys+Y7QpMoHIs f0SBIA31F0zP+UKVIcqzF98wpCvfzM3xzaXu3pbnugBpQXh++ODV/7zqY81xUASOTN zTmHZVPOniAwqML7dQXl4r0bLR8rp/sU/HfO91yo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9E537602B8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH 1/2] parisc: use the asm-generic version for writeX() To: John David Anglin , 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> <7a9d139e-978b-750d-1bac-8b27e934f781@bell.net> <1152a7d4-a8f4-ae68-2737-067fa05409cd@codeaurora.org> <4eea352e-07f0-3a99-c9bd-57e117288778@codeaurora.org> From: Sinan Kaya Message-ID: <3a3b6fe1-c338-488e-3983-0dddf26cc14b@codeaurora.org> Date: Tue, 17 Apr 2018 00:11:39 -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: <4eea352e-07f0-3a99-c9bd-57e117288778@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/16/2018 7:48 PM, Sinan Kaya wrote: > On 4/16/2018 7:44 PM, Sinan Kaya wrote: >>> John David AnglinĀ  dave.anglin@bell.net >>> >>> >>> io.log >>> >>> >>> CC arch/parisc/kernel/asm-offsets.s >>> In file included from ./arch/parisc/include/asm/io.h:262:0, >>> from ./include/linux/io.h:25, >>> from ./include/linux/irq.h:25, >>> from ./arch/parisc/include/asm/hardirq.h:13, >>> from ./include/linux/hardirq.h:9, >>> from arch/parisc/kernel/asm-offsets.c:34: >>> ./include/asm-generic/io.h:37:21: error: redefinition of '__raw_readb' >>> #define __raw_readb __raw_readb >>> ^ >> This one is easy to fix: >> >> https://elixir.bootlin.com/linux/latest/source/arch/parisc/include/asm/io.h#L146 >> >> Remove 146..179. > > I'll try to get a hold of a cross compiler and re-test. The above is a hack. > I need to do a better job on this. > > Thanks for the help. I'll post V2 when it is ready. > Converting this to asm-generic turned out to be a much bigger task. I placed compiler barriers instead to existing version and posted as follows: [PATCH v2 1/2] parisc: define stronger ordering for the default writeX() [PATCH v2 2/2] parisc: define stronger ordering for the default readX() -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.