From nobody Sat Jan 17 13:09:09 2026 X-Original-To: dev-commits-src-branches@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 4dtcVs6f7fz6Nh09 for ; Sat, 17 Jan 2026 13:09:09 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dtcVs3TZvz3DKt for ; Sat, 17 Jan 2026 13:09:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768655349; 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=+X3gDAMj7HocCqadyruCyz0Dy0yv5cB9+cuQrxRuGd8=; b=TEm1PiAEqP9tev6+1P/hLr76fRsP/MFevLhL85jHhK2FsPojArp8FJ77C3toe6xsDgP51H OlInpK4TjESppfUBIRwA4WFam4r0nLuY7+cBw+rQly00mAFLHkWvQE0WrgJWY8L9gUkZYW 3cBeWjItxUy85NOr0fN2m8RVkGS/1b9pzTDqMR/fLm0DwR2yH10QQBZrLJGjaTR+S3JxAV rffSWfuOLmVi95KsY4JThdmRQjtEcP9x8R6xn3Zv+2XRKY9reDUQ5YyKjvDblYQy/qwMiO Qf1Ji36nx4qpLGDEz55fs8Si8zNtwwmBrFEZ3H3bupF4XHbWJ73w6aFUaxG25w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768655349; 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=+X3gDAMj7HocCqadyruCyz0Dy0yv5cB9+cuQrxRuGd8=; b=a5m9cE+WoFSYQKDNOjC8+ZUmE+v0DfU2Kz2/3BiZo5vSLN/v782VVlfdqOuGgmZjOprATa 2B6+ofP0De5AMGHBVN62jP92ODQHzEq0xX2NWwgxPEs8v3rB7dQ/qcWDe+bkI9ZMl6YTis q859O2XxCp1qyzs2eRZ8u24CKx1vf75/rVKxzaOqhWyLkFvC4GW1bccT3ciHlxS1/G19P9 5PWACFvlLbB+nyjA0fT8e26LM2N+zdBkAA7xMhYJAdHR8oYxSWnTNnjQl5DRsQh/ti1egx DRZLD7VX2g1wtnrKABpY/XOPa+v9C0UocXT7BJDVcTRwyse3cDZZdR9EvXPN3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768655349; a=rsa-sha256; cv=none; b=L7FauWAhel2x42KTgh06ZOtEWAPDKxWAOFnHT29aX6myHFqdpxhVY2h3v+G2YW6t7hSDBj wLfmI8AFJaj5WTtIRsKU28LCyrouhLImvOZvdcvDtR730I4uTZ06ibuuAISNsvJ/jG7vod tM7zfOE7Baegb4DQwC6uuL9FVoLFR7ZM5wtJ2bOjKMnczILf15J0NleHDCL7ygVAxzi6mr JURR4dItYHAdgDwrnLBgsVk8qqpq+hxMRWznpmD0XE12KxbuJ1ZDB971FV8n2P851xo601 EY6JxnGJeqSsGHntozTyXlHm5EJfuwtoaD+D6z21OucJDHqDgB1+Z9a8hkUtNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dtcVs23gqz11hh for ; Sat, 17 Jan 2026 13:09:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 439bd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 17 Jan 2026 13:09:09 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 24777428cbc2 - stable/15 - riscv: add (a dummy) acpica_machdep.h List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 24777428cbc248291ba70552b1c367afd7e3bbf4 Auto-Submitted: auto-generated Date: Sat, 17 Jan 2026 13:09:09 +0000 Message-Id: <696b89f5.439bd.755b4246@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=24777428cbc248291ba70552b1c367afd7e3bbf4 commit 24777428cbc248291ba70552b1c367afd7e3bbf4 Author: Bjoern A. Zeeb AuthorDate: 2026-01-13 20:33:27 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-17 07:50:57 +0000 riscv: add (a dummy) acpica_machdep.h We have reports that iwlwifi(4) works on RISC-V. While we can turn off full ACPI-specific files easily, intermittent code still relies on the header files to be present. In order to not need to completely #ifdef everything out we want to include acpi.h from LinuxKPI and as a result need this file. With this the iwlwifi(4) code compiles just fine and will do the right thing (given the functional ACPI parts are disabled/ unavailable). Sponsored by: The FreeBSD Foundation Reviewed by: mhorne, emaste Differential Revision: https://reviews.freebsd.org/D54691 (cherry picked from commit 0fa7b3bee72e7cfedabe371c7082fbf44508ec05) --- sys/riscv/include/acpica_machdep.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/sys/riscv/include/acpica_machdep.h b/sys/riscv/include/acpica_machdep.h new file mode 100644 index 000000000000..ad162f5c0907 --- /dev/null +++ b/sys/riscv/include/acpica_machdep.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2026 The FreeBSD Foundation + * + * This software was developed by Björn Zeeb + * under sponsorship from the FreeBSD Foundation. + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#ifndef __ACPICA_MACHDEP_H__ +#define __ACPICA_MACHDEP_H__ + +/* + * This is a placeholder until full ACPI support for RISC-V emerges. + * With is we can include acpi.h from LinuxKPI and avoid (major) local changes + * to compile drivers otherwise fine on RISC-V. + */ + +#endif /* __ACPICA_MACHDEP_H__ */