From nobody Thu Jul 30 09:55:45 2026 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 4h9l2X6PpZz6n9xy for ; Thu, 30 Jul 2026 09:56:04 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h9l2X1smmz45kl for ; Thu, 30 Jul 2026 09:55:59 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-47f707e5d75so1344057f8f.1 for ; Thu, 30 Jul 2026 02:55:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785405358; x=1786010158; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=x7uM2v1Dk7Z2/eJLWxMiSwPixRe0NtrHvkzg3XgQnrU=; b=RKzGrWIPtVwGoC7sLdTy88DBNaszKQtBxgTc3utgbMRkoYITYuF8X1bynSAe33VvOV bocTtzf6iGYlXRAkIje1NF4Ut/DhsOzN1jCHfjQR2IK30fLk1ezTckvwFNJfLcaiTuoV OBX7KDa4Qkehi+P/HFtlFJ5ZfIkzYdgrYg4jXUGd47d/uPtcMPFBvLkqf0WTvd5o+znG +jmMcvVVhHMxtiLnZbGzz+An22umZYh9+c6HHy4vXalUFH0Xj6PmKSSn6sOiHq/W/o9e 5Z1owwYl3aPI34jrX6BbrATCpei3GoPztvWmM1Hy6U18A/bRXR++Lk29rMudK1krcXZ5 xjgw== X-Forwarded-Encrypted: i=1; AHgh+RrTurXKNQYNId+ZVnB90wwp+qfiKTDf/UjvdbyTgw4qojPqvhhLVIKmniJSR489YIsXLvLYxeVaJN9+SEZyAgh9a80a@freebsd.org X-Gm-Message-State: AOJu0YzUnSX++PLBpi78zEUrrGAQg1kIU8BLjOReGJEtemdTy+i2U3Sv 5KFXL+6ZTxbXrfNr0Jty3bNHIQy8w4MkZ84TcINQwXiJW43MeQzM9U2MlnDpR6ECumg= X-Gm-Gg: AR+sD13vodTenzXcp26fXzE/tcke4fz8edxEDX73MV+XtzkCCO5MpQXuatJaUwBZ+i2 AaTbUy4volfUQ2obv5aAgnowldMbFgEUMvyRB+k9EIEqWytEPHncT1xyqwuQVwp/SLv+pFt98Da XBu1dn6nLi2HBMQtePAOWBcNLNp/KoKj5zO/QtN/MtsEEetBSbPriQJ/oTlQTgnvMBjyNz2OSw8 FLBiMjaHUSt7WpO0zgdMDUalk2TChDP7qiHlyhApFozPel4Igt9Uk+CgaBT+RHKdqYK4fGmisFS 4IOC4OwR2iagWd8OB8Dw2KmtxLtRj0WVTAZF/Ycz1HAUb7akFklSvLvsiRwvszlptdKrqzWBliV VD20kKfl5caRZ7eobo5koWN05uOxR0PY9RzYiSWOCHLRGRRO/x27OsxZVVOKv7jJKF0K6Rf7tNT gFz43b0mzvWxLDAe5OhBBdIb3Vs1+R14f3kIEA2NLr2/VzLerx/YuODKa8thC/tAa8TqTqf2Eyi gJ0oBURJwKek8Epc9QKsaW/RtaMar4PurL8zzFCNyFkXQ== X-Received: by 2002:a05:6000:40c7:b0:473:1ccc:15bf with SMTP id ffacd0b85a97d-47fc854e505mr2577669f8f.42.1785405357540; Thu, 30 Jul 2026 02:55:57 -0700 (PDT) Received: from smtpclient.apple (nat-184-161.net.cam.ac.uk. [131.111.184.161]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47fc88e64d5sm4501639f8f.15.2026.07.30.02.55.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2026 02:55:56 -0700 (PDT) Content-Type: text/plain; charset=us-ascii 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3897.100.8.1.1\)) Subject: Re: git: 6e93f5e4d693 - main - amd64: FRED support From: Jessica Clarke In-Reply-To: <0c99064d-9ada-4ed9-800e-a0cae178f6c8@FreeBSD.org> Date: Thu, 30 Jul 2026 10:55:45 +0100 Cc: Konstantin Belousov , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <6a5e986a.22164.2ca88691@gitrepo.freebsd.org> <0c99064d-9ada-4ed9-800e-a0cae178f6c8@FreeBSD.org> To: John Baldwin X-Mailer: Apple Mail (2.3897.100.8.1.1) X-Rspamd-Queue-Id: 4h9l2X1smmz45kl X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Spamd-Bar: ---- On 29 Jul 2026, at 21:44, John Baldwin wrote: >=20 > On 7/20/26 17:51, Konstantin Belousov wrote: >> The branch main has been updated by kib: >> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D6e93f5e4d6932c423b89dff8fc08d86f= 8bdeb7b9 >> commit 6e93f5e4d6932c423b89dff8fc08d86f8bdeb7b9 >> Author: Konstantin Belousov >> AuthorDate: 2026-02-13 11:24:40 +0000 >> Commit: Konstantin Belousov >> CommitDate: 2026-07-20 21:51:02 +0000 >> amd64: FRED support >> FRED support as defined starting from the SDM rev. 90, = requires a new >> 'events' entry point to receive user and kernel mode exceptions = and >> interrupts notifications from the hardware. A minimal asm = trampoline is >> enough, rest can be implemented in C due to the clean FRED = organization >> of the event reporting. >> The syscall entry is handled by a microptimized assembly = path, directly >> calling into the amd64_syscall() handler, instead of the generic = events >> entry point. >> Tested by: emaste >> Sponsored by: The FreeBSD Foundation >> MFC after: 1 week >> Differential revision: https://reviews.freebsd.org/D55829 >=20 > This appears to have broken the cross-build jobs on GitHub for the = past week > which build with clang 15 and clang 18. Are those versions too old to = support > the instructions used here? >=20 > Sample output: >=20 > -------------------------------------------------------------- >>>> stage 3.1: building everything > -------------------------------------------------------------- > = /home/runner/work/freebsd-src/freebsd-src/sys/amd64/amd64/exception.S:1455= :2: error: invalid instruction mnemonic 'eretu' > eretu > ^~~~~ > = /home/runner/work/freebsd-src/freebsd-src/sys/amd64/amd64/exception.S:1521= :2: error: invalid instruction mnemonic 'lkgs' > lkgs %ax > ^~~~ > = /home/runner/work/freebsd-src/freebsd-src/sys/amd64/amd64/exception.S:1542= :2: error: invalid instruction mnemonic 'eretu' > eretu > ^~~~~ > = /home/runner/work/freebsd-src/freebsd-src/sys/amd64/amd64/exception.S:1662= :2: error: invalid instruction mnemonic 'erets' > erets > ^~~~~ > = /home/runner/work/freebsd-src/freebsd-src/sys/amd64/amd64/exception.S:1682= :2: error: invalid instruction mnemonic 'erets' > erets > ^~~~~ > --- exception.o --- > *** [exception.o] Error code 1 >=20 > (Or maybe clang needs some -m or .set to enable use of = these instructions?) LLVM 19+: = https://github.com/llvm/llvm-project/commit/13b265c7b5c6a989427639e33893c1= 58f737480b So we need compatibility defines or similar. Jessica