Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp601217rdb; Fri, 26 Jan 2024 05:27:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRfJ5pP9VAh1lmrYATbSmZRD6pNlxc4NVFUV6a6RiJQB+TrNvZ6njAO673Yaoq7qhyG2Bi X-Received: by 2002:a17:90a:680e:b0:290:6c93:1e26 with SMTP id p14-20020a17090a680e00b002906c931e26mr708538pjj.4.1706275630835; Fri, 26 Jan 2024 05:27:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706275630; cv=pass; d=google.com; s=arc-20160816; b=KSyFLsEpHO2ZqBK+MuE9gIDxjTA4fkdkWXHK7fNw4tMiAaWQ1et8D8eDcKZq4jqwIf E2RT+MNp8LJmzaWB07D5ekk6+D6txIl8LeKBUc/DNcYZDt0i7kMZUlMvuUlBQONSaQZQ zi1k83PhxPQ6jhAU+A0lv4jpcLQWGU504uYO0gPabgxLyPJJbOnwdakRFr1pc4DXi/m1 JqFvHxXbNIxsXw9oY69PngQHyUoHu6hTIfzFNCAcQ8wRz2jvsCA78jgoavq7HNnQI/wt gZFXPi4v57E5pS+YKwVtzL9Ib3X5+CTNPKRhOfyCseUrFejpIJ8SiHdj5KttXpwrh/Ku MAvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=tMcwwWF55TSMUfkiyVvDengJpXIzvyUVbd06XFrcD3U=; fh=BUHn7FWK/3XCz6RiadTAUNCfwjEsdLrvO2RLPBp+P/0=; b=duH29gCR4D95MsmmBwK7EuGglhRO0k3xukxmt4qvsijK7LMmPwtqWCz45+vgyM8xrx gcpmi1hzMycTzeP0AUNb6R4O5axgLgTWG434U96ptMKuF7aztO4inQqcJZU68eoW5/Sy SDnT5fLvD9InVfRnuXv/tenkf78341ocIRse9+fz1ETiTSpJJKkC530VLUxLmVXtir18 7sXLyWNs5bee9BExKSlCfadQIF+hmEaPPaiSKzzp/75FPvKFRGw/kv8sVXhzdc+v3uJ+ bhmJFX/JaNdvievdnxq6fQpd6AM7G+BV8252nXqTQrU9JYdZ1mRl684CTFnqA6aoal6f 679Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=D4WfYUJx; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-40110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40110-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 15-20020a17090a0c0f00b0028e89d84e26si3136687pjs.10.2024.01.26.05.27.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 05:27:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=D4WfYUJx; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-40110-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40110-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DE831B282AB for ; Fri, 26 Jan 2024 12:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB7791B80A; Fri, 26 Jan 2024 12:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b="D4WfYUJx" Received: from xry111.site (xry111.site [89.208.246.23]) (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 37A5D1B5B2; Fri, 26 Jan 2024 12:58:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.208.246.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706273912; cv=none; b=sUvWX+PHReL8/gUKZ1kAKxlnkf4y+EWCatS73SxmjF1UeDa7X+DA29USWR9KYon3KYIp1WPf3XeCet+xUBpvGiFhR5AF2ZOadzFfwR0qh4m+kfwrpcednxgGRRdRGn/vc3AnnYdy9d2yvIAXUbCiaM3yUy0AuO8g6Bn0g70+I8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706273912; c=relaxed/simple; bh=eiX/XU3X7izRhpQ8i5uryQdr0UqEctOorWGygOsy5UI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=HEGcu9gMIVkmycLRZ60Zg+7XovAThmg/vT91L3eG8F9NohFLsNobxG77rmziOQ3xkU6DkND/QOM7+eVSPuktouV5ccV3JI+epdtx50AYik1bc6kfhSE+2LO/G2WtqEp3oS5OGeQLLUHtr+CILmXAm2l7+swcFE7G0nePcu6Mi/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site; spf=pass smtp.mailfrom=xry111.site; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b=D4WfYUJx; arc=none smtp.client-ip=89.208.246.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1706273902; bh=eiX/XU3X7izRhpQ8i5uryQdr0UqEctOorWGygOsy5UI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=D4WfYUJxkj8nZVD4yhBt2yM509Q7H7i3L4lt2HkzVsFXGjr7Ym6NyVpBpxWbUIzUc Lf9+rphGsCNs2TLwLbd4L9qrK9iYA/ywuvShsS1ljItoMjcaRslcj6h6v0SVE4i3AL Ne8o4mxQzY0WmlS1J9gC3nuoiVBONKUzUufqgg0I= Received: from [127.0.0.1] (unknown [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 7C67F6690B; Fri, 26 Jan 2024 07:58:18 -0500 (EST) Message-ID: <1e1ec730efc58f17ecf008a4600321e3d200ebda.camel@xry111.site> Subject: Re: Strange EFAULT on mips64el returned by syscall when another thread is forking From: Xi Ruoyao To: Jiaxun Yang , "linux-mips@vger.kernel.org" Cc: linux-kernel@vger.kernel.org, Thomas Bogendoerfer , libc-alpha@sourceware.org, regressions@lists.linux.dev Date: Fri, 26 Jan 2024 20:58:16 +0800 In-Reply-To: <4b715c9f-6a9e-4496-8810-670080cb715a@app.fastmail.com> References: <75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site> <4b715c9f-6a9e-4496-8810-670080cb715a@app.fastmail.com> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2024-01-26 at 12:33 +0000, Jiaxun Yang wrote: >=20 >=20 > =E5=9C=A82024=E5=B9=B41=E6=9C=8824=E6=97=A5=E4=B8=80=E6=9C=88 =E4=B8=8A= =E5=8D=8810:42=EF=BC=8CXi Ruoyao=E5=86=99=E9=81=93=EF=BC=9A > > Hi, > >=20 > > When I'm testing Glibc master branch for upcoming 2.39 release, I > > noticed an alarming test failure on mips64el: >=20 > So apparently it should be tracked as a regression. >=20 > #regzbot ^introduced 4bce37a68ff884e821a02a731897a8119e0c37b7 >=20 > Should we revert it for now? I'd say "yes" if we cannot easily patch instruction_pointer() to handle delay slot. Anyway the reversion will be a MIPS-only change. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University