From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41ptdM0K89zF0WK for ; Mon, 13 Aug 2018 21:23:18 +1000 (AEST) In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/lib: Use patch_site to patch copy_32 functions once cache is enabled Message-Id: <41ptdK3GPNz9sCq@ozlabs.org> Date: Mon, 13 Aug 2018 21:23:16 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2018-08-09 at 08:14:41 UTC, Christophe Leroy wrote: > The symbol memcpy_nocache_branch defined in order to allow patching > of memset function once cache is enabled leads to confusing reports > by perf tool. > > Using the new patch_site functionality solves this issue. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/fa54a981ea7a852c145b05c95abba1 cheers