Skip to content

linuxPackages.{tsme-test,acer-wmi-battery,msi-ec,mbp2018-bridge-drv}: restrict to x86 - #565822

Merged
peterhoeg merged 4 commits into
NixOS:masterfrom
samiser:aarch64/kernel-modules
Oct 19, 2026
Merged

peterhoeg merged 4 commits into
NixOS:masterfrom
samiser:aarch64/kernel-modules

Conversation

@samiser

@samiser samiser commented Sep 22, 2026

Copy link
Copy Markdown
Member

part of #565344. these four modules have never built on aarch64-linux and only target x86:

  • tsme-test: SME is only on 64-bit AMD
  • acer-wmi-battery: uses ACPI WMI which is under X86_PLATFORM_DEVICES
  • msi-ec: driver for MSI laptops, which are all x86
  • mbp2018-bridge-drv: T2 chip driver for Intel MacBooks.

i've tried to do the platforms that make sense from what i found looking at the modules but if any of them are too restrictive please lmk!

also as a side note mbp2018-bridge-drv fails to build on x86_64 for reasons unrelated to this PR

Things done

@nixpkgs-review-gha

Copy link
Copy Markdown

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 22, 2026
@samiser
samiser marked this pull request as ready for review September 22, 2026 12:59
@samiser
samiser requested review from m1dugh and peterhoeg September 22, 2026 13:00
@nixpkgs-ci
nixpkgs-ci Bot requested review from hlolli and lynatic1337 September 22, 2026 13:00

@lynatic1337 lynatic1337 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

btw just for the record, mem-encryption-tests upstream was broken for newer kernels last time I checked, so until I find time to build a patch tsme-test might not build at all.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Sep 22, 2026
@samiser

samiser commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

@lynatic1337 that makes sense, i built it successfully locally against 6.18 but it fails on hydra against 7.2. i was thinking about marking as broken (also for mbp2018-bridge-drv) but i think i'd like to keep this pr constrained to just the arch changes

@iedame

iedame commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (d5406bd)

Command: nixpkgs-review pr 565822
Commit: d0361bd7c6c77ba392b15bbdc7d2550151b62b43 (subsequent changes)
Merge: 443c1ce12e80738b0eb2eed63e9098976c57fe4b

Logs: https://github.com/iedame/nixpkgs-review-gha/actions/runs/36179474303/attempts/1


x86_64-linux

✅ No rebuilds


aarch64-linux

⏩ 33 packages marked as broken and skipped:
  • linuxKernel.packages.linux_5_10.acer-wmi-battery
  • linuxKernel.packages.linux_5_15.acer-wmi-battery
  • linuxKernel.packages.linux_5_15.mbp2018-bridge-drv
  • linuxKernel.packages.linux_5_15.tsme-test
  • linuxKernel.packages.linux_6_1.acer-wmi-battery
  • linuxKernel.packages.linux_6_1.mbp2018-bridge-drv
  • linuxKernel.packages.linux_6_1.tsme-test
  • linuxKernel.packages.linux_6_12.acer-wmi-battery
  • linuxKernel.packages.linux_6_12.mbp2018-bridge-drv
  • linuxKernel.packages.linux_6_12.msi-ec
  • linuxKernel.packages.linux_6_12.tsme-test
  • linuxKernel.packages.linux_6_18.acer-wmi-battery
  • linuxKernel.packages.linux_6_18.mbp2018-bridge-drv
  • linuxKernel.packages.linux_6_18.msi-ec
  • linuxKernel.packages.linux_6_18.tsme-test
  • linuxKernel.packages.linux_6_6.acer-wmi-battery
  • linuxKernel.packages.linux_6_6.mbp2018-bridge-drv
  • linuxKernel.packages.linux_6_6.msi-ec
  • linuxKernel.packages.linux_6_6.tsme-test
  • linuxKernel.packages.linux_7_2.acer-wmi-battery
  • linuxKernel.packages.linux_7_2.mbp2018-bridge-drv
  • linuxKernel.packages.linux_7_2.msi-ec
  • linuxKernel.packages.linux_7_2.tsme-test
  • linuxPackages.acer-wmi-battery
  • linuxPackages.mbp2018-bridge-drv
  • linuxPackages.msi-ec
  • linuxPackages.tsme-test
  • linuxPackages_latest.acer-wmi-battery
  • linuxPackages_latest.mbp2018-bridge-drv
  • linuxPackages_latest.msi-ec
  • linuxPackages_latest.tsme-test
  • linuxKernel.packages.linux_5_10.tsme-test
  • linuxKernel.packages.linux_5_10.mbp2018-bridge-drv

x86_64-darwin

✅ No rebuilds


aarch64-darwin

✅ No rebuilds

@iedame iedame left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! mbp2018-bridge-drv doesn't build correctly on x86 since 2023, so please consider marking it as broken, a separate PR like mentioned should be fine. Feel free to ping me if you decide to do that.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 16, 2026
@peterhoeg
peterhoeg added this pull request to the merge queue Oct 19, 2026
Merged via the queue into NixOS:master with commit 7b1948f Oct 19, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants