From nobody Thu Jun 15 16:39:41 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qhp0s3x0gz4fRks; Thu, 15 Jun 2023 16:39:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qhp0s33Jmz4G6l; Thu, 15 Jun 2023 16:39:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686847181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aFgRrxhWAYXRx5uiQXXLohMmfAPeR0cRpEW1CzaTcU4=; b=a1FeeASFWrnuzYBjiZXIl2CMV76qjnQpJcwkGstpsQJ/bL2qPodkps5UDi7Elg0rfBLsGp G0n6xbsZP9MK5eDNLKcjhBISkBU/NUEY6Dl12q8iecE/QIw9JKIEjPKNW09lbp98T/0lcb +7LxAphbg3ehtK0YEtPtmzUiePAjAvE2nHDg2SW3xzT1JCnUOvtUeduVNYVBysKhYd3SZG DEVQR2CPQoRGfi4nEEhBMWUH0ypF9b358vHKM9ZwYgki0qVigSbnvzWbq6LkxPEgK6dTL2 cci9dyK5lZ8b0wi/LlXyyTGxgKf6ECDjcDxBRTd73LXHpu9UpgVi1Kp4JLQS/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686847181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aFgRrxhWAYXRx5uiQXXLohMmfAPeR0cRpEW1CzaTcU4=; b=iVpHVCtM0UwVARSSasXTZ2rBScbh2UREpDqbLLsCHRVN9ZCStm/EXxT/ceQ5w/6RPbgr5h wXIB0UE7myhRql5YI/2nyHPmx5CQCLqjhecoWjdwMhSlhAVfJeTDjr5D8vFiwobz2ONzSO 51LmX0uoQKE0DoOivVjVWvsUOPTadYcYh1OIgvkAxEMbZuBN36UDwywtiDqz4imJoVBwsa 9qpbtw66FBbj8K1idx8e/qyfCt/rXn4xlVKfAUhkR4otJ+FG9rAmuGQ2KPqI2Qdzou8xPA /MCoGEyJiSyjsxD8Cug9mJsjgfF7mOM23fcBu6gGyU6NRCNQGafaqu7CueDATA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686847181; a=rsa-sha256; cv=none; b=VPRh48tLuWDu8qBhlLjAIYJkan/bxAjKJD+bAWPMxgcIwb6htCT64uHlP9zf6IUc4wEoxs rUa+RtWjc1IrAcwLH6+n3BbGcHzYAvkkXqbmgEVh4zXMx/3g9FnAifzjPNAigI+fyXtJYj +q7HyqK3L3HDYHgpgnwTpNmEpx0/SPx3bClPw3VERveew9Q7SQuY8HkB5/62zQ9y4Ad+JE ENKeC40Pde23+9IWGo1/DBuLQOxd8phCPsppgBA7KqaKF3AkLHqOUlRuVyRt5ln7mRCpRa m0dBqX/7ys+VPiogEPiAlcieFCQw0BQfT+CT5dBIe7dpL/XYb91io4JlAj9AnA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qhp0s209tztZx; Thu, 15 Jun 2023 16:39:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35FGdfoq085910; Thu, 15 Jun 2023 16:39:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35FGdfR5085909; Thu, 15 Jun 2023 16:39:41 GMT (envelope-from git) Date: Thu, 15 Jun 2023 16:39:41 GMT Message-Id: <202306151639.35FGdfR5085909@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 91522683d49f - main - dtrace/arm64: Store the fault address when suppressing a page fault List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 91522683d49ff9757b9c5bb6e7de69266e26dcef Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=91522683d49ff9757b9c5bb6e7de69266e26dcef commit 91522683d49ff9757b9c5bb6e7de69266e26dcef Author: Mark Johnston AuthorDate: 2023-06-15 16:11:11 +0000 Commit: Mark Johnston CommitDate: 2023-06-15 16:38:45 +0000 dtrace/arm64: Store the fault address when suppressing a page fault Reviewed by: andrew Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D40539 --- sys/cddl/dev/dtrace/aarch64/dtrace_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c b/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c index 694e3c70ae2d..06d20d7d9cd3 100644 --- a/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/aarch64/dtrace_subr.c @@ -208,7 +208,7 @@ dtrace_trap(struct trapframe *frame, u_int type) case EXCP_DATA_ABORT: /* Flag a bad address. */ cpu_core[curcpu].cpuc_dtrace_flags |= CPU_DTRACE_BADADDR; - cpu_core[curcpu].cpuc_dtrace_illval = 0; + cpu_core[curcpu].cpuc_dtrace_illval = frame->tf_far; /* * Offset the instruction pointer to the instruction