From nobody Thu Jul 30 09:55:45 2026 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 4h9l2R6lYMz6nB86 for ; Thu, 30 Jul 2026 09:55:59 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 4h9l2R40ttz45db 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-f52.google.com with SMTP id ffacd0b85a97d-47f7027ca11so1260204f8f.3 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=tHTKeX+BCkn6V3Pv89MJHha0Pu2i56FKSgcSjeFUM93lt5HSWcOzwL4Qjafka0cOLU bnGJQVhnspkY+xN77/t0oT2jdI6XezaHhZXNt8cc3O/XyyGWPxxaBAqs1k4KcMJuUqe2 tLzHRgmXe6FjJAulI3AArQgMe/3pg6ZZsP0AvaMP+cIckfEbgHdQjg94OSen0DDS8ms8 x/7mviGP6IntnQC2KdGw/tU4HNH0kFlfxGrj3bkjtc/d7EoQcNwHXrigE6RwE+uj0pMY EyuqopRVEyoWdfIaXoYhpN1cM1MT9BueIK9QEUgYLhlnU9abxLw7IX6tQnWvjNUY95Gs IOfw== X-Forwarded-Encrypted: i=1; AHgh+RqLxWlvXv+ElZav3Z6EFhMj1qzA9/FgD6YiCyDsXXUnv+cs4D1ddWQrRDw0FRoWgi0ExI0eCR2CUavqIw+AiHWBDZYBHw==@freebsd.org X-Gm-Message-State: AOJu0YxfTLBkqODld37fxUHSd+KgnbeNZHWwPPgi+0nuC7/8bvSj4oHQ mSzs0IIrqMo+8wbAaNmoYXM2fTiiuiT8c3S0R/wCRxfPGmOlKbRJHcQO8+NYAtjOGd8= X-Gm-Gg: AR+sD13k0wY9BU1/MSUBU7XgrI9P4DsbcoL4CZpETXKXrYTkWT+M7AuwGYyDK7s57/f BBRNhc+K5SmEG4BDb8rMqP5l0m043XBm+qi2hdTjRTo7xDI9kCNAZVsC3UEjCZU3DV/wdPvr0Qo ExbB+uPF6C2Z3BVnfYLYgC5lSSNAt1f3NHSYRjM8hwlufSII3nhv1iU/lAeliU74uljT+exHOb9 Mdju0uld9U3jqmwNq2Ei5W4CVETq4DhzvaqscQvbBd0GDad21UWulCqLepEgdaQBq2F543IdDZM pqRKcl4OtLVLNVhEeRHhU8HdCL5njIoElgLKoxI9wIscCsWWhZMIHt0hDI1M2Hc8SjREIObtjkS D/SDIhX5dYC2r2Goi4c4Xq2iWGggNHffCop0Yax6/O6+eeKZqNJzq0QNbe2NUBgc9p6Itw/u1F4 raZV+c05vyjl7v/ufEC8y5si6IZsfRBtDP5LQIZziB3NiShLjhZoio5HQXieJj+K+O62FQ/P9Da F/I6TRDrTugNplNPU5NONGSWePRyv0qq8Uup6L4jLYSVQ== 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 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 4h9l2R40ttz45db 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