Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4454602ybz; Tue, 21 Apr 2020 00:31:26 -0700 (PDT) X-Google-Smtp-Source: APiQypIPcUX/9RHUvkZDFTqgcu+dwU4kw/jChZ0UPg6T4Rv2WxTNBDuc7gbDd+/U14FmASgBTh+b X-Received: by 2002:a17:906:3289:: with SMTP id 9mr19644324ejw.130.1587454286359; Tue, 21 Apr 2020 00:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587454286; cv=none; d=google.com; s=arc-20160816; b=G3uJ+OdKZJHahzIQXAFGls3yj6Cg/edTAyhU3FvCx2/PzDenXPqAu7NZGGgbAlkIQI vQ9Usg2H/rHyp5PHmd/QT/uUz2NhcCQK+LwpoW79D84YN4jPL574aixpKq16orvZCE57 Vi4MD0flUu+1FvKgeciHpWxNXxYxw1Jl9/1oo8C2N1xqdoZxAtbR72pcn5f+hSZ7pc/C VTKa+DCZyg88Bz6E7lUgLjVpiJTI62luGPZFTSxQVyZ02qi9VS70lgHe2gfsMxGIQL4W xXR124lNqGpnU81vw2lVnnj1xhxSvNVdbqgAAn0IWF9zO+jEilbY5w6jGSXj4zYSX9VD d39w== 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:date:subject:cc:to:from:dkim-signature; bh=ve6GS3o2ZDt+6fVEzio9+oQztNL/K+BP4BCqQwsvGtE=; b=GLkpGA3eKs0KgUdF1lj3RByp/Rm6PxNKUcT9QcrkVWNdBK3711KIZgS35AMhmkx5y3 mF+JVIkhiP6410sOSWsTGr233ZV1SbLa49VXPNfelpWDn27lAPmDLjJ7xrhtgg73D6QI rEGbaKVHHB4xprv6rV/8pzc3dnnwToQn3ym5CTdTDNrIbOrH/n/JzebxLn83VpwNOv5W fSTK8S7Bzb/llJ0wEzYLBnIOt6vEPUIAPlX/t+gExYS5tnBggKnqJtbyuUpDFy2YuklM SOWQQO32SVsTDH0oOdiFXjls+1GGNuDY7nPZGzQ+UPPeK7zIMcRtAsLpDrOpRb4krRHT Qt3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=OkZd0Hmm; 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 v20si1045986edb.355.2020.04.21.00.31.02; Tue, 21 Apr 2020 00:31:26 -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=@sifive.com header.s=google header.b=OkZd0Hmm; 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 S1726106AbgDUHaJ (ORCPT + 99 others); Tue, 21 Apr 2020 03:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbgDUHaJ (ORCPT ); Tue, 21 Apr 2020 03:30:09 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA248C061A0F for ; Tue, 21 Apr 2020 00:30:07 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id w65so6218148pfc.12 for ; Tue, 21 Apr 2020 00:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ve6GS3o2ZDt+6fVEzio9+oQztNL/K+BP4BCqQwsvGtE=; b=OkZd0HmmrZJVRAmeOhR/6MDVes0T/k3X8lBGV919P9SVZveSI3AxIfxQlssEZrZdal hCXV8KQNcqqxLQtRlS6E9UT1p5HNSOEM/epjV+AHLtLe7D9b7ad6awx3r9sBBEs5OwOR 7bbDYBdBT5IDzm85ciogP0GkGiawMB44Hed5Lla5Y1WdU1SKPrLpz4x8v76nLDcDcwWk KHs+uxP7swbiuMbrSpB5DUpzVC3SMFFfEuVkC4mAja5BRMyyWiVVx1wbrzzIv31bN2P7 dP+1i8dKVK1hbUmdTR+H6YBZvzzysZMqlSr+VQuiiRP6UvcIGf4QBSlPPIzW9yn+8nuO yqHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ve6GS3o2ZDt+6fVEzio9+oQztNL/K+BP4BCqQwsvGtE=; b=JrEev1pcOwwd5+by8W9Z5k37MKpGpflB8sn231VMGUPQGAH1oq6TOpxGwimIwr4w2X bqkOLw1tLtHWzRA5P2EpU4MHIKc/ye8vl5Tw+/6UkMK+kUsyAGXzNHghrrY/gRdVylFj 7dd48pkaaiZ+0eJq8sPT7W0Nforq6Gn9dqOt998j42zCq0sVlvC2VyCcnDqNEBOeUf4b chbOh6vnH+44ICpG9aT95OwuTReeP75X1/UUfERaZ1lSUQ3uVLBGcy7UIAPGNPs7LC/o UJ9C6r4XmRk66UrzFtscUtDBpgssvgMVta7OFZ1ZAYDhq+Pr1S8804zA9h88tnqv7My9 mKgg== X-Gm-Message-State: AGi0PuZxV1I0apSY/gGofHt6OQkNY5ewBcTQSy15cLa8F8sDEKficgW8 lClL04Fh9C6kWTQGWFaOMKwD5g== X-Received: by 2002:aa7:8a9a:: with SMTP id a26mr19188725pfc.77.1587454207230; Tue, 21 Apr 2020 00:30:07 -0700 (PDT) Received: from hsinchu02.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id t7sm1535200pfh.143.2020.04.21.00.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 00:30:06 -0700 (PDT) From: Zong Li To: palmer@dabbelt.com, paul.walmsley@sifive.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Zong Li Subject: [PATCH 0/3] Refactor patch text interfaces and mechanism Date: Tue, 21 Apr 2020 15:29:58 +0800 Message-Id: X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.26.1