Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3000748imm; Mon, 13 Aug 2018 04:24:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxUR0OXD/7UzXKuyBLziUU7ZFce8Jp1jn7HPUGVpJV5yz7g0YVBW6IXIecezvG6LeIkcqQi X-Received: by 2002:a17:902:6105:: with SMTP id t5-v6mr16370060plj.92.1534159492789; Mon, 13 Aug 2018 04:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534159492; cv=none; d=google.com; s=arc-20160816; b=zlU8OTIh1sNIPfHnt/+IslKJtRF6e376IUK9dRprrQ3QmQfL/0NYKRRJFhaj3KIB1j 6Ji5U4liybAam6TtCxQCR5Gyw/eyhNFUgc5/lZZmmDQvCaLQ8bO5Faxla1kmIbj7RAcE 5AFRtrTVQpwG9uZ5oNnexLx52gj4d/ef9Z2HqdKexJTbXrGaPqQeWx9G+eB9WHiANzKJ xp11uqhjaAczWH1HPr88QC/LeG03G21jIsQBPrlrQZ97xsUNKBgSLRVLvY/xj8dlC+AL BOApTYNykqvQ/e8zI+jY1k+zwh94wqVacYWckUz4h6bd4d/P6Q2Z13zpDMZK3/QI0wEH nAwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=y2miyyh6fohtFEf6hGjmsC+XweD/HrMEm+lXnsK77r0=; b=mjGbsPvpcq/u+hPEmdmvJgR8DFovE0iYeXfvIycr6KcNJTz5LLNwsyLdIT5hRJwpUs 4WuEuZEVcYJYFaaK4onNnjhvpDbk6mO1ElXt7p54GbrDQYiFIfVqZkpHcwFpq79eNWOf UGKr65TtHzmRkn65uU5EIL/5RYAP71SY6WGYZ5SluMViQFm3ibfC6Z3G01ruGvp3MmGN D2jSFOpHrvY3zpz57L+Xn5BSvsdRO9C+qT7OOmdo/7LYva0vcTjliu0qkQxwCJfiGekP xkdqtHKXroI/Ovd59LYn26CiesTQCC6WEZojzrHekiOkF9xVbc4fnpuqTN/kS2/W3+Vh iXMQ== 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 d10-v6si17271699pfg.258.2018.08.13.04.24.37; Mon, 13 Aug 2018 04:24:52 -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 S1729713AbeHMOFJ (ORCPT + 99 others); Mon, 13 Aug 2018 10:05:09 -0400 Received: from ozlabs.org ([203.11.71.1]:47701 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728493AbeHMOFI (ORCPT ); Mon, 13 Aug 2018 10:05:08 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 41ptdK3GPNz9sCq; Mon, 13 Aug 2018 21:23:16 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: fa54a981ea7a852c145b05c95abba11e81fc1157 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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