Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp289649pxb; Mon, 2 Nov 2020 22:37:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRm/6m+b90kidyDMOncvU+u+hL5HgcL6Jdlpl0LjRDFT/Fvis3bTIaFMJg+nBArYvh59qp X-Received: by 2002:a17:907:2677:: with SMTP id ci23mr18651284ejc.270.1604385445962; Mon, 02 Nov 2020 22:37:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604385445; cv=none; d=google.com; s=arc-20160816; b=epjjE5uOxWoSqA57W/c8XjgfjoTo9AJKtRkER2P4o5R7XTpxt3DaAdwmw9+kcVCZI/ App3Oau2yaqLlQ3syJFBkl4KeM4UM93xk0Q3yCDHWBtdlnQA/sK5pW2S0gIKJKxCQIHZ 2nsVJJABQkx1oG+bQXi3VAlTaj/LMDXBJAGjRRms018F2lKc7/uIkvg8cx/cpEsxPInT +617IchejecY3DLMimyw9w+stltNawGyeXtGkdR/6tiAklPA/YqK6UMIoVp6SlVsxycR 22qGzOvxcGxMlfnm/f422WdpkcpUOtEKojo/6SN6KxjB54Kbj/69NB9++0kDKo1qZGEB vF4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9jPwTKq5SSOILzlCv3o/GD8y0lpyV/PkwZvgZqOk4wk=; b=DqvHHWbpifZm0owkKQbrwezBTuzMqmGpbNv3GU1qx3PjCEftS0TlzYma6rqwRY/QkA X0Qr7B+22baB71a7+GnojgVQRAwrya2ZN8gaA778bLhyVjU9+bQkUY3nd36rw4yQznyy MT5500SRimjt7EXdsGHJ1QvB2jbI4LbqkzXDk/iqEUJLivW8v5N0er4gTuUNNucBx+wq iT8g1gQHCvjDRe/qZWpLKyrS1SmkNFHgTrXv3TqFA9df/8ZhRfEpxQLsdDeG6nE5Gw0F HJNyQDRIv342yhlZ4p7f4+Df+L589b7bc+qdgI8d+u/Tc0mkqnt4OMoy6SKmbpYcayaY zkGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ptQei5gQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si12734040edq.478.2020.11.02.22.37.01; Mon, 02 Nov 2020 22:37:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ptQei5gQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbgKCGfd (ORCPT + 99 others); Tue, 3 Nov 2020 01:35:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:34384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbgKCGfd (ORCPT ); Tue, 3 Nov 2020 01:35:33 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E003922277; Tue, 3 Nov 2020 06:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604385332; bh=KIGBZzLW6/iyV4lqJAjCeoOE0mdh9RR33cupiGx3qLk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ptQei5gQUn6zh++ttwvBgdiuBN1W4ruRZufMNqIql9EVxnU2u/isEUrmBJvI4FxWU 5gpibSCmETD2fS2sK88vzq4Cc8Q+lXFiWsocKfBCZPQl5ADcszlTpTVMzY8SFruwsr 3UcUxRPpWMj7P2pkX4f6z1aT7efq1abfIF2I/OKA= Date: Tue, 3 Nov 2020 07:35:29 +0100 From: Greg Kroah-Hartman To: Hans-Peter Jansen Cc: linux-kernel@vger.kernel.org, Dan Williams , stable@vger.kernel.org, Borislav Petkov , Tony Luck , Michael Ellerman Subject: Re: [PATCH 5.9 24/74] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() Message-ID: <20201103063529.GB74163@kroah.com> References: <20201031113500.031279088@linuxfoundation.org> <20201031113501.207349375@linuxfoundation.org> <5149714.arhZky3dcl@xrated> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5149714.arhZky3dcl@xrated> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 02, 2020 at 10:34:08PM +0100, Hans-Peter Jansen wrote: > Hi Greg, hi Dan, > > Am Samstag, 31. Oktober 2020, 12:36:06 CET schrieb Greg Kroah-Hartman: > > From: Dan Williams > > > > commit ec6347bb43395cb92126788a1a5b25302543f815 upstream. > > > > In reaction to a proposal to introduce a memcpy_mcsafe_fast() > > implementation Linus points out that memcpy_mcsafe() is poorly named > > relative to communicating the scope of the interface. Specifically what > > addresses are valid to pass as source, destination, and what faults / > > exceptions are handled. > > > > > > Introduce an x86 copy_mc_fragile() name as the rename for the > > low-level x86 implementation formerly named memcpy_mcsafe(). It is used > > as the slow / careful backend that is supplanted by a fast > > copy_mc_generic() in a follow-on patch. > > > > One side-effect of this reorganization is that separating copy_mc_64.S > > to its own file means that perf no longer needs to track dependencies > > for its memcpy_64.S benchmarks. > > > > --- > > arch/powerpc/lib/copy_mc_64.S | 242 +++++++++++++++++ > > arch/powerpc/lib/memcpy_mcsafe_64.S | 242 ----------------- > > > tools/testing/selftests/powerpc/copyloops/copy_mc_64.S | 242 +++++++++++++++++ > > This change leaves a dangling symlink in > tools/testing/selftests/powerpc/copyloops behind. At least, this is, what I > could track down, when building 5.9.3 within an environment, that bails out > on this: > > [ 2908s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink > [ 2908s] ERROR: link target doesn't exist (neither in build root nor in installed system): > [ 2908s] /usr/src/linux-5.9.3-lp152.3-vanilla/tools/testing/selftests/powerpc/copyloops/memcpy_mcsafe_64.S -> /usr/src/linux-5.9.3-lp152.3-vanilla/arch/powerpc/lib/memcpy_mcsafe_64.S > [ 2908s] Add the package providing the target to BuildRequires and Requires > [ 2909s] INFO: relinking /usr/src/linux-5.9.3-lp152.3-vanilla/tools/testing/selftests/powerpc/primitives/asm/asm-compat.h -> ../../../../../../arch/powerpc/include/asm/asm-compat.h (was ../.././../../../../arch/powerpc/include/asm/asm-compat.h) > > Linus` tree seems to not suffer from this, though. Ah, that kind of makes sense, I saw odd things with these patches that I couldn't figure out. So, is there a symlink that I need to add/fix to resolve this? thanks, greg k-h