Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3082645ybz; Mon, 27 Apr 2020 09:39:16 -0700 (PDT) X-Google-Smtp-Source: APiQypLfL+7DkswMP+YAbwUPraOk+TgpkZXRKKmJnnALjXvGdu7AzA2XEd99FwcGwVklhQ+3GMNj X-Received: by 2002:a50:f74c:: with SMTP id j12mr19265763edn.197.1588005556166; Mon, 27 Apr 2020 09:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588005556; cv=none; d=google.com; s=arc-20160816; b=a5I8D0TtGpOd5TNNNBsZwTnYZIhgztrT3pWFVjzLGuRBIsgrQwP41RdsPBBnpt1yVL 0eAWQ0R6q7B8oAxUoDtGQn9RfSykeiaU6y3lhWFPRH+mDF7WhGUs6/gbYk8NfQZF3hQv PaARNhEzrAMwvIu0jo2E3esz/9KaDGqM4TgK6Bz4AEBQlz84ap2J6qAfpaV3DKstE3OZ ehJCUXehjZMhaAZ3imFIKvJ0yCVk6fQHHtpDn/KfyI5MyE7EWdBUtoZzLpjrgI+8y3Sa 1IuTVJw6SN9yelnSgV7CKe+R5Qitm0UP7Q3gDuaian71qqa4FCU6Nf2YOPlRdsWZsCDH qkNg== 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:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=fbHM1UO8ZCsiegGn5ySxeV/75VUNG8WD+xMilKzGDK0=; b=yHQGy9NTTOOgoQq4jCa9YL+YZrWLejVB1T4hCSftyRxU2IHgm9O6c8YgCOl8MtFxzN QTFNHt5sAfgOCNmKVEWkqgBvGWE56JZ2LVsrPzQZMmr2L6Yz9U272WRkJjiYzHyp3qeG kdMFEZTHDUGKJavneFTfwA6Qetbv/AS0N38ekAiBuaSm1E3kUX2KUJbQJLjSR/I/fA0V mt/aiZOl4gFIS02vZ1VrSLW9UmrVGRXk3EFJ/TfotbNfDjntTPUo3Dp30XzC3ihiyQiI RIwCFJhgDPpa2lZ4656WtCAufeBZrUrvgk6A3ibsrGoBcXPgfTcQ68QEI4E2a0etWJBe EIeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=AVHFyKBa; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q28si67099edw.324.2020.04.27.09.38.52; Mon, 27 Apr 2020 09:39:16 -0700 (PDT) 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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=AVHFyKBa; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728198AbgD0Qew (ORCPT + 99 others); Mon, 27 Apr 2020 12:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725852AbgD0Qev (ORCPT ); Mon, 27 Apr 2020 12:34:51 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61DEDC0610D5 for ; Mon, 27 Apr 2020 09:34:51 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id x15so9263945pfa.1 for ; Mon, 27 Apr 2020 09:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=fbHM1UO8ZCsiegGn5ySxeV/75VUNG8WD+xMilKzGDK0=; b=AVHFyKBaT3lWtILdsn7lZbmxuZqLoXBACX+5oScB4Ni5aArwxsJ6qGE8HLSV8BTb9R jyR/oGhu7x83HmelJV7BfQxEM2p97lF9zL+Z0LTiB096JYKfSVi/FGfwL33jTP+aF5vZ SVdjrqIjF+5LJr4e70MVqjl+QwzGsm+G6laRPOuqao1Lt1ZDqTv+5iD/cvj2LaTOVuPh uOP931J9qGvclu8Vnku+rbLzIsfgJN4Emx5SOXDnhM+CLIrD07it7a3tkWSVQKgAiSE1 xCC1NcUjETwzx28zzLY1K4/ftDdcYeB+2J/HlFl2wmr3lek0dzHuzdYKqpxnvO+nvhWw +Fng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=fbHM1UO8ZCsiegGn5ySxeV/75VUNG8WD+xMilKzGDK0=; b=P/VrMMvHneet55FbTuptPcE98rRPuAdkRhhg/VNJuFbrhXvL6m4ocZLrPme1dBK8WK FqZh2tkDBeN8wyP1KiRGQpLfdmPR+27wJ7hvhynp2mhNnJXNTCwdx+xA16yX7O6Vm+TN QYeiEm2+TcPmlRbmgWpC8Ez7kK2fpj0mw1kDnyNI3u6cJcjo9arqi3Q20HlwrchI5FST hqZrT2UgjQZEIuMYmhzNUd1uObGEJRXI/wbmVvPDN+aBz1ltNARCuP54mxAQ8lE6P/b+ HaT252HTu7MmXGkG06DbwmmiYiVrxL9t8SaZRIqb5Dg8WOkrjb32IS3ZTuu8CydUYDUy rB0g== X-Gm-Message-State: AGi0PuZcbNIyp6yYAWy3kBQHk11RRVjdjN1VpEX+aONw3mB7eIRr1tvV SvW1B35bDg41XZOwdyOPnPs8TA== X-Received: by 2002:a63:67c5:: with SMTP id b188mr23328255pgc.111.1588005290612; Mon, 27 Apr 2020 09:34:50 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id 23sm11675960pjb.11.2020.04.27.09.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Apr 2020 09:34:49 -0700 (PDT) Date: Mon, 27 Apr 2020 09:34:49 -0700 (PDT) X-Google-Original-Date: Mon, 27 Apr 2020 09:34:46 PDT (-0700) Subject: Re: [PATCH 0/3] Refactor patch text interfaces and mechanism In-Reply-To: CC: Paul Walmsley , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong.li@sifive.com From: Palmer Dabbelt To: zong.li@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Apr 2020 00:29:58 PDT (-0700), zong.li@sifive.com wrote: > This patch set contains the difference from the newest strict memory > permission. These changes are suggested by Masami Hiramatsu, including > deprecating old style of kprobe annotation, lock protection and so on. > > Zong Li (3): > riscv: Remove the 'riscv_' prefix of function name > riscv: Use NOKPROBE_SYMBOL() instead of __krpobes annotation > riscv: Use text_mutex instead of patch_lock > > arch/riscv/include/asm/patch.h | 4 +-- > arch/riscv/kernel/ftrace.c | 15 ++++++++++- > arch/riscv/kernel/patch.c | 46 ++++++++++++++++++++-------------- > 3 files changed, 43 insertions(+), 22 deletions(-) Thanks, this is on for-next.