Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2714538rdb; Mon, 12 Feb 2024 14:12:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwpV1fXzUhXfhQqT1M8rpmY9InUvSJz47w/2Wd9e+uyLruAh+5YiWJOIyc7/PTpTU5KnC/mxCG2mVAZKfE+lpPrgmPe3lW8Y18/VpA7A== X-Google-Smtp-Source: AGHT+IFvE8ydyurqqii5P63s3MllAaLAnZbR0D/iX5TB4eb+iZ5boOfM80eO6W+BpftIASWX5SCj X-Received: by 2002:a05:651c:10b3:b0:2d0:d9d2:a886 with SMTP id k19-20020a05651c10b300b002d0d9d2a886mr4970749ljn.35.1707775956215; Mon, 12 Feb 2024 14:12:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707775956; cv=pass; d=google.com; s=arc-20160816; b=RezKWPIVhdW2KxK6vRRn0Z/yssMvmqTVvOJmifrfch6/7nWTTnzPx4dfGV3bCUS07H KsDND9ryMS+1yHc21n5mFkY9ZMTIMjOFcUlhl9+QBKkyPvY6PfTaDxlThWGvsMM+zh+U G3W/6YA/Dy3FuphaStqSF+NBedHkYgr4mAT2msCtwamTN9F2zofnr6kJw82R+hRK0Uw5 N8Gbra+LsU6wQboKIx4RZwwEH+8CcbbsWZGEadQzGDEwsPBnDTdyEnUfB4YXlXiJIxMd CS4KNZXpK9B3cgvAh9wue7XDVCLwMRv+VCmE+qu22DquzyEhSdKPwmFjJxywSB8L5gsO Sknw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=UUv93lYEyNisSt9jSXVdXSJoB8DcR6Yk6BEkp0/zP9U=; fh=QCjNQ02Cj6Z/pzkzsFYzMO1VYiOKUDrBmvlgM/QpuPc=; b=nw9A5fWQ0GblN7xSydfX9DYMZz9S+BnWgHPpzvD9XWLnmbj6pQ7Ify5G3tbDkAuQ6+ GVFfZ1qEpE11y67rK7Pep5F3fiF18+FKUQNj37Uylmwhur5fo697Co7+hIHxEdpZL9m/ EAblc8poplyLlH7qdbz8Z6jzb7pzstlF0crvWGIhvbkEkWzYxQoVj8lXyOJyTyAWU27t o7UJL880fYBqFwG16CvDlMczRDzT+wAZwkthfauD5bjZJn+uLylr+n5PLpP5KvuNWPZl hZ55S1FGofaM7eiOQSjgW4zzrZ53d/t1rrEQKWE91KDSlzAhe9WRR5uAnsRgefCRCEJW CdBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-62461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62461-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXUbfThLyIaRSQZnr/+nODTIkMVrEwzJbf7WKVJTcRpRXSG6fVJWbUELC5La+ATv5smH93LXOA6Wm3ma7MfvpX3QG0c81rn4MUn2k9s+Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g2-20020a170906c18200b00a384f16e032si564278ejz.721.2024.02.12.14.12.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:12:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-62461-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62461-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id E4C851F2146D for ; Mon, 12 Feb 2024 22:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D6C04E1D1; Mon, 12 Feb 2024 22:12:14 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B95F94D584; Mon, 12 Feb 2024 22:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707775933; cv=none; b=pM/PGOOhHVV+O4vffmRpy/0mOXXcvXYLHVpFXlPp6nrVGjRNonCS9dzWcLtZWr7JGi7jEL/wCrSkUcFwfC+evPpOZPI6WVDyhrDE5TDFRjBCKC1gpS4/SxXyXR+hYxNj9wrUJ+FqFkS2Y0mbDCGJDo1dBzWDZjnFkMwPUy5gb78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707775933; c=relaxed/simple; bh=mQ24OEKxUf3+tyNALVBAJd3zdQYEVPgzTVv3KI1xCoo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lauOqriaBg9nsA69Wqi+6oN2/fVfuAActOUGNWeRCIlGF9m24SBIS4XPyZkI+7/uTFjE3WYPG0DNwaajOpST0kkxduYmpNJlTHt/glXZ9brrSwh/MdTNDZabuVi2Nv0wQk4avgzPByYtFSH3lfnIPbB6OIc8YK/4PM9+KhgIxz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1rZeWs-0002fz-00; Mon, 12 Feb 2024 23:11:58 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id DC4A6C0267; Mon, 12 Feb 2024 23:10:50 +0100 (CET) Date: Mon, 12 Feb 2024 23:10:50 +0100 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: Oleg Nesterov , Andrew Morton , Ben Hutchings , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, Xi Ruoyao , Linus Torvalds Subject: Re: [PATCH v2 0/3] Handle delay slot for extable lookup Message-ID: References: <20240202-exception_ip-v2-0-e6894d5ce705@flygoat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240202-exception_ip-v2-0-e6894d5ce705@flygoat.com> On Fri, Feb 02, 2024 at 12:30:25PM +0000, Jiaxun Yang wrote: > 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. > > 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(-) series applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]