From nobody Sat Jun 24 05:23:35 2023 X-Original-To: dev-commits-src-main@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 4Qp2Zb3PNrz4hKbX; Sat, 24 Jun 2023 05:23:35 +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 4Qp2Zb2kkSz3PwP; Sat, 24 Jun 2023 05:23:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687584215; 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=9ltRgHQGO6X+YycW2xGtHWhrakoDBA0pSqQXLOss5r8=; b=JCkZOQaeNBwOqerqq/8XUW90A8Tmez2f2Ydh2mL7WJK7v4d4H1gd67DSloTUJ/vu7So9Bw qLiel0y7uFALxZ5EWnzxqxqeMtFyn1CLn6P7w064ilDLv6H0Y/WlzTQ4qc2ieLvE+clY1U 3pcX7xnSkoPtrytmy7Od5CxwZkQxy9qLszLBdrHbFotvb5QhV8zgzVudue1hZ82w6D2ooi xbkH5uTa0qyRsrrpYWp2kodxrZFplBSzfvdSCvVOEjD23IeJtrU41WrFDLlMuHQGyJpm3r SUMTR7qc53W7gJcRx0jWg9IfUJF4CQeODziI2eg1yh5Um91FKOLZJ51NdZx+Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687584215; 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=9ltRgHQGO6X+YycW2xGtHWhrakoDBA0pSqQXLOss5r8=; b=gjKEgg/FkciZTjiF2QqxBisj1AUAfPeReQotZKcyo70hgX9CSG1y2gTeNR420kMQJzLZHB jmFz97R7hgM8TzTMq7+PYb0SuBGV09pwdiF5Z5a+StO4k+xN2luqlqA+QDJ5doPXqDYn1S no7w+BjCtdJnFLQSYz7JPwMUB0R/Nk0kSitGrh/4L/ODN5TJBpIkGF41wcw3PwFx2x2/vM 4enXwkwPJp2SbOqVwP4KCdk83wMd3RWJOwskXhc3nqUavlxy1oQwOuYpOl0UzMpu3BrSKp Eor2KagyCz7aM1iyJ0ibNQ5CuFufxzfbzJwGhp3DiMwqBS4Mn3mZc+0Ky7DeVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687584215; a=rsa-sha256; cv=none; b=rEsDY3ehG1zpdkgZgqQn3MA+A8JgjDer7bkfR/MqoHqTB7tOfGrDVXW3wIhgzdfcjT3fPv RHG+o/0yU9OTJbNy5JdYswRbGt5CauGgYDiq/5b5UPAZKy+tJy2Vk2KLSqgmf+FCa698jq Z0KLDVl5ZXX2hWYOIohMjwuDAoUPOMvMwj0Wb35DyJgIuEFdkLNLNdK4+7CxuTzLeC6USJ gzYv2jFWCq6w54emv8Mt+EdtoXL9AY2Bh0QPPpKTUb8nT4y1gtgBWVl+M6+/xV1MnldPIM 2tRFmOOb5/xIqTl3Vg6JJtIEawY/0hr+muXv20WuYDTixRCAcMssy/eNgsz+bQ== 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 4Qp2Zb1p0FzZ8H; Sat, 24 Jun 2023 05:23:35 +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 35O5NZ8v055791; Sat, 24 Jun 2023 05:23:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35O5NZw9055790; Sat, 24 Jun 2023 05:23:35 GMT (envelope-from git) Date: Sat, 24 Jun 2023 05:23:35 GMT Message-Id: <202306240523.35O5NZw9055790@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 59833b089e78 - main - arm64: improve KTR_TRAP trace entries List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59833b089e78463a561706fc03777249766aea01 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=59833b089e78463a561706fc03777249766aea01 commit 59833b089e78463a561706fc03777249766aea01 Author: Christos Margiolis AuthorDate: 2023-06-24 05:23:14 +0000 Commit: Christos Margiolis CommitDate: 2023-06-24 05:23:14 +0000 arm64: improve KTR_TRAP trace entries Follow-up of 7756232199ad ("riscv: improve KTR_TRAP trace entries"). Reviewed by: markj Approved by: markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40696 --- sys/arm64/arm64/trap.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c index 7b5c7bc61fd3..8d51c73a15c9 100644 --- a/sys/arm64/arm64/trap.c +++ b/sys/arm64/arm64/trap.c @@ -484,9 +484,8 @@ do_el1h_sync(struct thread *td, struct trapframe *frame) return; #endif - CTR4(KTR_TRAP, - "do_el1_sync: curthread: %p, esr 0x%lx, elr: 0x%lx, frame: %p", - td, esr, frame->tf_elr, frame); + CTR4(KTR_TRAP, "%s: exception=%lu, elr=0x%lx, esr=0x%lx", + __func__, exception, frame->tf_elr, esr); /* * Enable debug exceptions if we aren't already handling one. They will @@ -598,9 +597,8 @@ do_el0_sync(struct thread *td, struct trapframe *frame) } intr_enable(); - CTR4(KTR_TRAP, - "do_el0_sync: curthread: %p, esr 0x%lx, elr: 0x%lx, frame: %p", - td, esr, frame->tf_elr, frame); + CTR4(KTR_TRAP, "%s: exception=%lu, elr=0x%lx, esr=0x%lx", + __func__, exception, frame->tf_elr, esr); switch (exception) { case EXCP_FP_SIMD: