Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp143202rdb; Thu, 8 Feb 2024 01:21:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXx0w+8YhUrRXQ/RoT11BlYbLMQBB5ScD1rJMhXh9RenyU4JvDP6S/WOimL7z4eencnybKUoqIVvQGqVh7w5G1poCYCfXu/SMTk7YjR+w== X-Google-Smtp-Source: AGHT+IGpRV6aBk1uRZ0U96b8HmIqTPJzRuztl8rCqC0N9ulPi5A6N/4BvgT9HAZzLsKnOE0Ex4fd X-Received: by 2002:a17:90b:2e0c:b0:296:3a69:8152 with SMTP id sl12-20020a17090b2e0c00b002963a698152mr6048059pjb.2.1707384083861; Thu, 08 Feb 2024 01:21:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707384083; cv=pass; d=google.com; s=arc-20160816; b=KV3vZj9JfZneVhiSN8fAdpn+8S6Q1qRIlP7RYb5EPt1ZgLmAZr2oNcTe6737jgIsxz TbbBb5AWVktiCzpu99vh/n56iKf7gZ/nYK4IjmpLMTR9iQ4eiirUCOXYMKB1fms15fL5 0BIFU0XsCMbzr2HYKPv06Fz6bOwJw7yZoMVXw+kUKMN5zrDBlSNDyfJKynw3iL0WHk/3 cpRH9dvhKFTdPT6aQSnBiiTTzJXL2kf6tRMISKxqcI+mIIF/njBTSyF68giMC4Y0tluw Y6tBoqjPzlccFq4WopVxKWD+wKNp6CWMPpFddP7yxTKttflCJ5UQ5+y8naNa7JWQ18OD 1tiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :feedback-id:dkim-signature:dkim-signature; bh=uj690mHzuaDMd47zJhc5iPw+H6HEefWEcHIBsad9VjU=; fh=9IOOLr6l6TKG38Aqgg4RfehyW8ejYbjXxRrZjUZdB7Q=; b=zaEDcV9+LH/tVq17wj26c5sO8JjzuVXiCf75ZsBOFQ96XxbmiGootOkUTUEYwnyD7W Fp8m7L1h5XMub0GheGqVDKAx5Ert/M0UHm6lY1XNARH6rPBlX1kOq4CIVnPSuACZTHr+ iYlzes+Pigh477eW1aYwk+b64tiJzyCAbL/6lm6zXthTpo/6hQjk1lk4kVmEHpEUBr2/ EHuYg7IgmR2kLAEJqEF/mhSWgd7b+BvXH700fjvmaINmpFvsDfzTvQ/9BEKlTTITZ2Xh WOf8iPSuKnCR1SHKRf288LAyMC/ZJ6iYjta9NKXgpB/7rh3mFgalaukvN+Tn0nb3eWnv Eufw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=BIq10Xut; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kkVFonMY; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-57714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com X-Forwarded-Encrypted: i=2; AJvYcCW8u3iTFXaGxvfMhRkXNhPZe3LrtayYOrvVsvcqam6svvZrb6gF2Wwk/av2NYGgudmTvNb5a4M8Z5LS0rTFwPWYQaJwzwmpuUkRiTXp2Q== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mu12-20020a17090b388c00b00296e095370dsi979245pjb.104.2024.02.08.01.21.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 01:21:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=BIq10Xut; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=kkVFonMY; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-57714-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7FB8B28840F for ; Thu, 8 Feb 2024 09:21:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10E906D1B2; Thu, 8 Feb 2024 09:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="BIq10Xut"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kkVFonMY" Received: from fhigh1-smtp.messagingengine.com (fhigh1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 688246BB55; Thu, 8 Feb 2024 09:20:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707384054; cv=none; b=aCt/SftxJVUqiEuD3QpNVBa0oEh83mrMlWcUbdey9jQxv/k6k+z6HsczGbKWH0dXMG5w8hzrQvE1rMNIzJJQGskSaNDA6Kea2O/PBQKGjVBJf7oK8hJyt2TGAd2yJtHShuN5YHWu2xjMvWSUCtvi3dRR65D4F3EGodoM/RCKHRo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707384054; c=relaxed/simple; bh=UmsQQy0GxSUlPjTMxhqBJwATE/FEB2iKU59BoDw0V7c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=utiH12Ff/7BQcD2ds06mdsZbvWBC1kU5S7kvugKjYSGmpyFUUGWx+5Ph6hcGykk998vC9DUwYONMqWgstSD43LienNfymqQAeO8i8xO3tHPAUP9lVFRG1OblD40Rj4BaMCq0IGdeNLOrjuqB4541HEYOPUpN35b3B9o/fzr+jL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=BIq10Xut; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=kkVFonMY; arc=none smtp.client-ip=103.168.172.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2FAD911400B0; Thu, 8 Feb 2024 04:20:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 08 Feb 2024 04:20:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1707384051; x=1707470451; bh=uj690mHzuaDMd47zJhc5iPw+H6HEefWEcHIBsad9VjU=; b= BIq10Xut73VD6H6regi/+2wPfSkPy33QTMhOMs081bX2aSkLfge28ftOpCpNcVI2 ioH86AUrNsJ9REbkbiCoc49gWt7zOLHld7xp3GGPe6TaKoclkdVOZU4zPn94coOt JO/wH6Hg06UYXeo9YGe5AiKAPZnx3XKi5wUILe5l9JImxi7Z1Yeiabg4e47ox3Jj 71mxi3a2GEm1GeJZSj512dHK+E7cAjBrr4nZBNk06RMF9hVaZy6VgnXd2NFoUG3Q FiH8zTKOkMVDgZk1RFLDYPoJU1GrafCi8pCYo+ly/AlZgctW3kDslPWRCiuhjqX2 rsqiLxPxpBLwRQ7h+VJ7GQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707384051; x= 1707470451; bh=uj690mHzuaDMd47zJhc5iPw+H6HEefWEcHIBsad9VjU=; b=k kVFonMYqFfhH5K+T2CBvJRzN6ZPX0ewEW3DIIlx7YfKeJCTw13ZBdN/APNyo5pQE t+LPjd9mVFmr33xqdmrsjhI3IkBYBG3XZkl08Vhu/1+6XffMjklgzxG5SC2sXVPg I3LGMML+Lauf52ZeXZyc16/PuK+s2dGx/3nEY68y0tDCjyZ5iJAf6ncvP2YLV9Nw KLaSdr4OO+lmGIDXN/Jxc8gJ6vg/EnpcHdwDTKG0wgammD/+EoilBNd6jSNLChsk wFzIbLNcYL8km6ExbO/rDorefjYKjICktt8uIz2U5WO8xK5wZfsWpChoxW21VApn bp/+2W2flP9BSX+jmBdFQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrtdeggddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheplfhirgig uhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenuc ggtffrrghtthgvrhhnpeduheejgfetvdekvedvveeikeelkefhveekveelheeikeefudet ueffudfhhedtheenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Feb 2024 04:20:49 -0500 (EST) Message-ID: <63a1738c-5755-4c2e-a4d4-f5047cdb3660@flygoat.com> Date: Thu, 8 Feb 2024 09:20:47 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] Handle delay slot for extable lookup To: Oleg Nesterov , Thomas Bogendoerfer , Andrew Morton , Ben Hutchings Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, Xi Ruoyao , Linus Torvalds References: <20240202-exception_ip-v2-0-e6894d5ce705@flygoat.com> Content-Language: en-US From: Jiaxun Yang Autocrypt: addr=jiaxun.yang@flygoat.com; keydata= xsFNBFnp/kwBEADEHKlSYJNLpFE1HPHfvsxjggAIK3ZtHTj5iLuRkEHDPiyyiLtmIgimmD3+ XN/uu2k1FFbrYiYgMjpGCXeRtdCLqkd+g9V4kYMlgi4MPHLt3XEuHcoKD1Yd2qYPT/OiQeGM 6bPtGUZlgfOpze1X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pWK+ZXb Cs8oFeACbrtNFF0nhNI6LUPH3oaVOkUoRQUYDuX6mIc4VTwMA8EoZlueKEHfZIKrRf2QYbOZ HVO98ZmbMeg= In-Reply-To: <20240202-exception_ip-v2-0-e6894d5ce705@flygoat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 在 2024/2/2 12:30, Jiaxun Yang 写道: > Hi all, > > This series fixed extable handling for architecture delay slot (MIPS). > > Please see previous discussions at [1]. > > There are some other places in kernel not handling delay slots properly, > such as uprobe and kgdb, I'll sort them later. A gentle ping :-) This series fixes a regression, perhaps it should go through fixes tree. Thanks - Jiaxun > > Thanks! > > [1]: https://lore.kernel.org/lkml/75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site > > To: Oleg Nesterov > > To: Thomas Bogendoerfer > > To: Andrew Morton > To: Ben Hutchings > > Cc: > Cc: > > Cc: > > Cc: > > Signed-off-by: Jiaxun Yang > --- > Changes in v2: > - Reduce diffstat by implemente fallback macro in linux/ptrace.h (linus) > - Link to v1: https://lore.kernel.org/r/20240201-exception_ip-v1-0-aa26ab3ee0b5@flygoat.com > > --- > Jiaxun Yang (3): > ptrace: Introduce exception_ip arch hook > MIPS: Clear Cause.BD in instruction_pointer_set > mm/memory: Use exception ip to search exception tables > > arch/mips/include/asm/ptrace.h | 3 +++ > arch/mips/kernel/ptrace.c | 7 +++++++ > include/linux/ptrace.h | 4 ++++ > mm/memory.c | 4 ++-- > 4 files changed, 16 insertions(+), 2 deletions(-) > --- > base-commit: 06f658aadff0e483ee4f807b0b46c9e5cba62bfa > change-id: 20240131-exception_ip-194e4ad0e6ca > > Best regards, -- --- Jiaxun Yang