From nobody Mon Nov 23 04:18:31 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=comstyle.com ARC-Seal: i=1; a=rsa-sha256; t=1793255676; cv=none; d=zohomail.com; s=zohoarc; b=j+zqWffaarLz/77ZdCvGXJCuvjnw21Ru/90zDSY63R4uOrDP9cMxGi2EUHJLg49++XIq0U7Syen7K8vhcZD8qb2ioIMB9gltOOcC+sAkoghTPGty2hsFC0TITeIrFVx6t6I6R8jV/FVRAlCDWjInyEzYF3w9cFH0WqMfeZ9rUJk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793255676; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=rzfaio8MONJFa9seyvxa+efPCvUET3XBh3w1xTrMsL4=; b=O2gnuBNIzbnBOg3UJpqkq+gbCcbdDQVFLXebESmIXnGwYI6jyB7hSgtNUtddW5a/6/zCgc9SJ0HdYehWLEkPCdCjPBN81luzCwn8FH/MeZo0UV+P8PZ+4BkBLUTJCjNA31jgFPrLuzZBXnxEyiQ8j0h1appw33vdaBPtan8h7Wg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1793255676756352.2785763491506; Wed, 28 Oct 2026 23:34:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMJiY-00062m-4H; Thu, 29 Oct 2026 02:34:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMJiH-0005x3-4f for qemu-devel@nongnu.org; Thu, 29 Oct 2026 02:34:14 -0400 Received: from speedy.comstyle.com ([2607:f938:3000:8::2] helo=mail.comstyle.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1xMJiF-0004ke-Ip for qemu-devel@nongnu.org; Thu, 29 Oct 2026 02:34:12 -0400 Received: from mail.comstyle.com (localhost [127.0.0.1]) by mail.comstyle.com (Postfix) with ESMTP id 4jFZFQ5lzbz8PbY; Thu, 29 Oct 2026 02:34:02 -0400 (EDT) Received: from humpty.home.comstyle.com (unknown [IPv6:2001:470:b050:3:5bf7:2fb2:2e98:8fce]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 4jFZFQ58b1z8PbW; Thu, 29 Oct 2026 02:34:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=comstyle.com; h=date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=cs6aOWoSVHyyg2iG3RIOB2nPeN/8jJxc13ujd9NchrE=; b=S3Kt H2VeINgiW7nVFQqK74tezmWtKgJJoMyFeOxAhsVxlWnx3QkJqio7965+uxG5madA dE8VAcnuBBP4LaD3sBz0M6yUQRiMDqTh5ObTsyyB40qwNBCG25HkT84Qj0rBBc4o CgbUy6X6ApgC0NKu1Ezqw2bjQumRY4rp8xj9tLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=comstyle.com; h=date:from:to :cc:subject:message-id:mime-version:content-type; q=dns; s= default; b=hcvFknTi4EXxtVcXMNF7cmNhckTG+jIjacejVHYJXD+pHDgNQkfOf uImN6vXbdgs80S/GkYKLsahLrUQnXynyt9C1FVNPqZXN0cTTFxx2xmrNlXlNoqAC zO7RJPiFoAYJukmYDZJIt1X6VoRQAXC+pdXIRzQf6Hab6Jcsss6JvM= Date: Thu, 29 Oct 2026 02:34:01 -0400 From: Brad Smith To: Richard Henderson , Paolo Bonzini Cc: qemu-devel@nongnu.org Subject: [PATCH] util/cpuinfo: Remove obsolete OpenBSD/aarch64 CPU detection Message-ID: MIME-Version: 1.0 Content-Disposition: inline Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=2607:f938:3000:8::2; envelope-from=brad@comstyle.com; helo=mail.comstyle.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.2.10.1.5.2/293.227.96 X-ZohoMail-DKIM: pass (identity @comstyle.com) X-ZM-MESSAGEID: 1793255682117154100 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" util/cpuinfo: Remove obsolete OpenBSD/aarch64 CPU detection Signed-off-by: Brad Smith Acked-by: Richard Henderson --- util/cpuinfo-aarch64.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/util/cpuinfo-aarch64.c b/util/cpuinfo-aarch64.c index e344676214..85df16ba5f 100644 --- a/util/cpuinfo-aarch64.c +++ b/util/cpuinfo-aarch64.c @@ -26,11 +26,6 @@ #ifdef CONFIG_DARWIN # include #endif -#if defined(__OpenBSD__) && !defined(CONFIG_ELF_AUX_INFO) -# include -# include -# include -#endif =20 unsigned cpuinfo; =20 @@ -85,36 +80,6 @@ unsigned __attribute__((constructor)) cpuinfo_init(void) info |=3D sysctl_for_bool("hw.optional.arm.FEAT_BTI") * CPUINFO_BTI; info |=3D sysctl_for_bool("hw.optional.arm.FEAT_CSSC") * CPUINFO_CSSC; #endif -#if defined(__OpenBSD__) && !defined(CONFIG_ELF_AUX_INFO) - int mib[2]; - uint64_t isar0; - uint64_t pfr1; - size_t len; - - mib[0] =3D CTL_MACHDEP; - mib[1] =3D CPU_ID_AA64ISAR0; - len =3D sizeof(isar0); - if (sysctl(mib, 2, &isar0, &len, NULL, 0) !=3D -1) { - if (ID_AA64ISAR0_ATOMIC(isar0) >=3D ID_AA64ISAR0_ATOMIC_IMPL) { - info |=3D CPUINFO_LSE; - } - if (ID_AA64ISAR0_AES(isar0) >=3D ID_AA64ISAR0_AES_BASE) { - info |=3D CPUINFO_AES; - } - if (ID_AA64ISAR0_AES(isar0) >=3D ID_AA64ISAR0_AES_PMULL) { - info |=3D CPUINFO_PMULL; - } - } - - mib[0] =3D CTL_MACHDEP; - mib[1] =3D CPU_ID_AA64PFR1; - len =3D sizeof(pfr1); - if (sysctl(mib, 2, &pfr1, &len, NULL, 0) !=3D -1) { - if (ID_AA64PFR1_BT(pfr1) >=3D ID_AA64PFR1_BT_IMPL) { - info |=3D CPUINFO_BTI; - } - } -#endif =20 cpuinfo =3D info; return info; --=20 2.56.0