Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2862932yba; Mon, 15 Apr 2019 22:48:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4OmSmJfCqaKllszeO5TnFbBWjqWrIUfCJXXpW7uJc6ybipAkmnplRd/FQGRBZhhLFj2zW X-Received: by 2002:a63:e445:: with SMTP id i5mr74490357pgk.383.1555393685773; Mon, 15 Apr 2019 22:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555393685; cv=none; d=google.com; s=arc-20160816; b=BKC8eFX3TtneQ6imviiD1jeDF41NdlWO4WaFW9To39YkOmxvv60Y6f9LOOcK31tY64 a5anohfr4U5X8I8N0Qy4gdlkeQB4Il7H2qRvRw/2IN3qAgE8rwaa7jx+0PiYasV7I+cz wc/GvKBQ6bPjFyXK7695SjbXtvTbGjJkeZRCrShS1Gru4m+G09iYrz6bvEzoQFs1cf8s Iem/D27h6sNv0EHTOpuF91hWpZbXoK3Ca36fcKYPPbUcdOUaUNj1JEtPk6bCtmsoxDt3 /JQC7OFom/GsWYp/17MJWjsooboeDBM4ejMH78xS1W5liNVn2oCWB2t2DQwhDGfth1JD vXbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RhoTQXLWxLvFVR4Wb+7N2i/KE6tF0i54qNPmpjmDE5A=; b=pvYgn2ukwEaHBoWhz8adxhelg3A4hs/H7rDr1L+0XhaD+EpLU1MRjdObB/utpHExLq 83CWCP34/LoRRtw3530PNm1U7dSOXrH0QTVs3/kTQUAfyyVn9fyOvr9+RM70hI3RdHgt dywb5MN+i68NOgBrug5APnANz+bGq9FgQ3FudlmOE7XNjJWlVEaUQJGMmWtTTz3vikuL uG+Ul+d5egfj/ZE085kbSXYrsh3YlfnR78kMFZgDSFMGmHakWKwacTEVnaGktD1W0uAB 6+TzDgwXMSHDcbrnUTXKukA4D8u4NFN0vk0P/C/4XI9OFIe3msRc6jSFWve/y1I+ODTE 27GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YRolOO1J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si46531588plr.204.2019.04.15.22.47.49; Mon, 15 Apr 2019 22:48:05 -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=@kernel.org header.s=default header.b=YRolOO1J; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726895AbfDPFq4 (ORCPT + 99 others); Tue, 16 Apr 2019 01:46:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:49406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbfDPFqz (ORCPT ); Tue, 16 Apr 2019 01:46:55 -0400 Received: from X250.skyworth_vap (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE4A22075B; Tue, 16 Apr 2019 05:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555393615; bh=1nzvhNEj29axDHbdzNQmA77QFU2UyFVqF9eNk5YUqBI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YRolOO1JUkGat6DzRvzGrqyJXaLECUFv7NpVhebSTpLg1ajMwhDqbe+4cVVxtvEOX +HqrgL/3XmpKTyipR18L9HareX54lRlI8v0lM/bsvg7vxj64LoZxXKcMbeoDZpayPO GQlmGvvTOIZkovc1s9Zc4FDuWmKC3wD8S+t4Mpx4= Date: Tue, 16 Apr 2019 13:46:46 +0800 From: Shawn Guo To: Stefan Agner Cc: s.hauer@pengutronix.de, linux@armlinux.org.uk, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: imx: use generic function to exit coherency Message-ID: <20190416042337.GA4690@X250.skyworth_vap> References: <3f58c55e48c28f41e92883e81c675b8478af6a5e.1554937960.git.stefan@agner.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f58c55e48c28f41e92883e81c675b8478af6a5e.1554937960.git.stefan@agner.ch> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 11, 2019 at 01:14:12AM +0200, Stefan Agner wrote: > The common ARM architecture code provides a generic function to exit > coherency called v7_exit_coherency_flush(). Replace the machine > specific implementation using the generic function. > > Tested on a i.MX 6Dual by hotplugging the secondary CPU under load > through sysfs several 1000 times. > > Tested-by: Stefan Agner > Signed-off-by: Stefan Agner Applied, thanks.