From nobody Fri Jun 17 19:40:53 2022 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 8ED2F85D4A8; Fri, 17 Jun 2022 19:40:55 +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 4LPqCW0jxxz3hdH; Fri, 17 Jun 2022 19:40:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494855; 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=ACCVCYCFGfESd/7vY+sIcaAb+6MPIVkCxFzCefD6rlo=; b=AE0zr8wL591KYfDE0ZSL45MzX0mmx+kiaZQr4vU0reVh4nmo1cPE8PUm7Wq1aqUispJI0O NfanvkjAcu7Sfz6kU5oTtgt62FzJr0vvPrXhzNIPVwKHGMvPTjVmw8JUzfWu0imhvZSrUJ XzuA4IqbVi61foBC7TaU3bly3m7Gqu6w1jSC+tmaAWSsZubRwYH6R4mZXPt3bOCoELN2b8 KB5c3vOEU1GwliUeH/0oOuHc3UM7GZ9HtOK6W1p+1PDtYF4FBnL3FGcNocCsdKYEw5Yy6L Qh1BrRDw7ACv0wi4GmEvwDbuUX8m1A4JvapTpsurVGsE9wZixt2n/96xc4JU7A== 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 1360425A5C; Fri, 17 Jun 2022 19:40:54 +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 25HJer3U027322; Fri, 17 Jun 2022 19:40:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJeriF027321; Fri, 17 Jun 2022 19:40:53 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:40:53 GMT Message-Id: <202206171940.25HJeriF027321@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 5781e205b05c - stable/13 - linux(4): Retire unneeded translate_traps from arm64 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5781e205b05c813cdf4f3fa3a70cf13273b75ccd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494855; 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=ACCVCYCFGfESd/7vY+sIcaAb+6MPIVkCxFzCefD6rlo=; b=o/3/p4c31fzl5OzGRNaus4+7ypQnKMQyCgvgLEOk3jB8ieORvdBn8z4IToChk+ZzmNLKG9 ODNmTNKL7T3ciMoyJZ4sNkMqC2AINWO6OyU1wzYdj4qofxq9PIBI1QsVfY/g0NCTHqVbrY F2DXn920/HPnqrd4FLxVNZQrEPgZ+WNA4lrUr7WGGpRJCuYUhIhElVb6PLr+r3B1WjhCbM A+2wLNU/2V5LrpuJZnQMCcA65PMr4Kz3hvXXm6x37+FBpbl/xWRJg3uAj2eb7GtsQkBwMH mebVbhpSKYqOUF7jmlNgsE1K42FT5kbmHCIFqaF+a9/Dsji8VUE1RPz/cQhssA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494855; a=rsa-sha256; cv=none; b=vP81LYZd0o/CNuWLBuvwX7c9Ql7Ohsu07ACqVDyeCCxcYJdNi/5jvzo0e2sqosrW8t2Y2i MumO7J/JkHLxcZ0AMEDkcJSTWvLEVN0EMlgiMSIN12q/gS75Yn/YjiAvD0PsL4fUY2A8mT UhlY8FmFcR4axa8KSGNyIT1ZtwNpY+KxrxTG64rZePcF9HvM1FYLCRA1yeaXvAZnT2Z64W +k/6ykiHZpJ2YBA/xpYzLAxcUhb8eGn4Q6mpu72U9m255AYFCRLzqRsEPcsyoGrapX2GSP O9ujVu7RUrW8cdezgPU6abl7eeQQ6BTBVH1S0IKJA0eFp2+ZvXrH5v9lL8gTXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=5781e205b05c813cdf4f3fa3a70cf13273b75ccd commit 5781e205b05c813cdf4f3fa3a70cf13273b75ccd Author: Dmitry Chagin AuthorDate: 2022-05-20 11:19:51 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:35:27 +0000 linux(4): Retire unneeded translate_traps from arm64 MFC after: 2 weeks (cherry picked from commit f34a9180ae881dc77ea42ab38e992828b1567a5d) --- sys/arm64/linux/linux_sysvec.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index db508be41e3c..57282946d5d7 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -121,7 +121,6 @@ static int linux_on_exec_vmspace(struct proc *p, LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); /* DTrace probes */ -LIN_SDT_PROBE_DEFINE2(sysvec, linux_translate_traps, todo, "int", "int"); LIN_SDT_PROBE_DEFINE0(sysvec, linux_exec_setregs, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_copyout_auxargs, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_elf_fixup, todo); @@ -130,15 +129,6 @@ LINUX_VDSO_SYM_CHAR(linux_platform); LINUX_VDSO_SYM_INTPTR(kern_timekeep_base); LINUX_VDSO_SYM_INTPTR(linux_vdso_sigcode); -/* LINUXTODO: do we have traps to translate? */ -static int -linux_translate_traps(int signal, int trap_code) -{ - - LIN_SDT_PROBE2(sysvec, linux_translate_traps, todo, signal, trap_code); - return (signal); -} - static int linux_fetch_syscall_args(struct thread *td) { @@ -552,7 +542,7 @@ linux_rt_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) struct sysentvec elf_linux_sysvec = { .sv_size = LINUX_SYS_MAXSYSCALL, .sv_table = linux_sysent, - .sv_transtrap = linux_translate_traps, + .sv_transtrap = NULL, .sv_fixup = linux_elf_fixup, .sv_sendsig = linux_rt_sendsig, .sv_sigcode = &_binary_linux_vdso_so_o_start,