From nobody Thu Feb 17 15:53: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 CB97719CBA6C; Thu, 17 Feb 2022 15:53:54 +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 4Jzzry1T1zz3wFm; Thu, 17 Feb 2022 15:53:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645113234; 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=DvpZCEoiZXnACPGGEm0LZc5Ej5upcwqYOiRB9qcB4P8=; b=dEBMeGP5853nmo69HHv6+X8/orx2JqxQg7D5b79Vp1JQxGIT7z9XNjjAq4bQOyFuXIcSfG QWTcguB1w8qZy5EsS+qySoJ9bNa5rQsH3Ab+2akl9Xf6DJSbXkvttnrYBnoBFJdcaz5PjS IuDJ3Chq0SRfev6tZRK0v9DWr3sssd7BecLpzPqCXoYEvjJCqDcdaf/lcvepc/oJFXUgRk KRovryvT14JL5SwJDyzQYots0ZdNpIS/U47GU4Dv21xWDZAwVlHLsGgJdPsPl5CYYLyhZm NlxauJNwGvszTcgvc9egBDi1WRaoAR1vU4sGfbA+H0BrU9OEjNWef5uqIyDdww== 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 E2C1D4940; Thu, 17 Feb 2022 15:53:53 +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 21HFrrZh022304; Thu, 17 Feb 2022 15:53:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21HFrrsh022303; Thu, 17 Feb 2022 15:53:53 GMT (envelope-from git) Date: Thu, 17 Feb 2022 15:53:53 GMT Message-Id: <202202171553.21HFrrsh022303@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Edward Tomasz Napierala Subject: git: 95f24ec842b5 - stable/13 - linux(4): remove unfinished vsyscall bits on 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: trasz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 95f24ec842b5ddb2dbfed16a256d0b5f6656516d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645113234; 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=DvpZCEoiZXnACPGGEm0LZc5Ej5upcwqYOiRB9qcB4P8=; b=TN/v+jEPBtfvvGbMPkWtVMvlt/MiPwPQbQ8M/FpXYg3oisnFtdFQOjdL35RLbUvCpn/muz t30zzVgFrCaZpvOyuQ1yFFKj3OmT0Fw9j+w2vDFYmkfMTwkeTorO5YQSU1tTlxOn6SIPQX xR2n3/r1kqcdRQZW0kz16jeqCW9RbleB6UPOfhnghhuMjYZFi6QKhHNoduaM38GCG+BTZE yZEi8i3BguuGi2Q98+Yt3M4voAsKnM6S3GN8ZFjSJfgb0DpZj3+HH8zQkKSY+bx8EJKupI czUCxl673ofp9MXqaiywceV1Kx+5vWGA7OU4j3uYWGu+IOC4bdtH9ln8img0Hg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645113234; a=rsa-sha256; cv=none; b=I6dJ/XnikWX868HimWq3LCzouwVsZ6tfxDLwvh/iV7ieaDbKYmHASNbi/3QcKBAB+677Os Jw0Fxqd0xPrqz0POMbWHdKe0poiaeol30/aHlE1QUvfjt3WNvjyMWKeMNDUBkxZYzjHmws zk9h4GAZiKhXchh3p852sESoX/llwheVURwfsD+Yl68v63karumXWrv9dgt6E0iGy5r0p7 k92Lt3Nt4xIBjH7ASNqd0R2w5myVMUXDF3DxbTP/+LF4nJv2emHzNKYIKwGAzucBb8DDuj GgshrGNUi1j1AITbns5CkhHiXTz468bv61RU3dJZfOfE9CTH18oVA0lWPsaYJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=95f24ec842b5ddb2dbfed16a256d0b5f6656516d commit 95f24ec842b5ddb2dbfed16a256d0b5f6656516d Author: Edward Tomasz Napierala AuthorDate: 2021-07-13 09:52:13 +0000 Commit: Edward Tomasz Napierala CommitDate: 2022-02-14 00:09:05 +0000 linux(4): remove unfinished vsyscall bits on arm64 The vsyscall mechanism is obsolete. Reviewed By: dchagin, emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D31091 (cherry picked from commit 84a3963d5d94be05c913d04ea0cef4ac69a8bfc7) --- sys/arm64/linux/linux_sysvec.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index de8dd023f82d..7fe6ab781218 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -90,7 +90,6 @@ static void linux_set_syscall_retval(struct thread *td, int error); static int linux_fetch_syscall_args(struct thread *td); static void linux_exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack); -static int linux_vsyscall(struct thread *td); /* DTrace init */ LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); @@ -102,7 +101,6 @@ LIN_SDT_PROBE_DEFINE0(sysvec, linux_copyout_auxargs, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_elf_fixup, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_rt_sigreturn, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_rt_sendsig, todo); -LIN_SDT_PROBE_DEFINE0(sysvec, linux_vsyscall, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_vdso_install, todo); LIN_SDT_PROBE_DEFINE0(sysvec, linux_vdso_deinstall, todo); @@ -396,15 +394,6 @@ linux_rt_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) LIN_SDT_PROBE0(sysvec, linux_rt_sendsig, todo); } -static int -linux_vsyscall(struct thread *td) -{ - - /* LINUXTODO: implement */ - LIN_SDT_PROBE0(sysvec, linux_vsyscall, todo); - return (EDOOFUS); -} - struct sysentvec elf_linux_sysvec = { .sv_size = LINUX_SYS_MAXSYSCALL, .sv_table = linux_sysent, @@ -437,7 +426,7 @@ struct sysentvec elf_linux_sysvec = { .sv_shared_page_len = PAGE_SIZE, .sv_schedtail = linux_schedtail, .sv_thread_detach = linux_thread_detach, - .sv_trap = linux_vsyscall, + .sv_trap = NULL, .sv_hwcap = &elf_hwcap, .sv_hwcap2 = &elf_hwcap2, .sv_onexec = linux_on_exec,