commit | f5bf180d8941bace03b0ab4009609e234769a34b | [log] [tgz] |
---|---|---|
author | Arnav Kansal <rnv@google.com> | Thu Mar 21 22:50:37 2024 +0000 |
committer | Arnav Kansal <rnv@google.com> | Fri Mar 22 00:00:28 2024 +0000 |
tree | bac75e22fbf0b972971c9ba54e6c20c458492752 | |
parent | bd06d31b3825cdd549f41b5cd88a7bf5a91f36b7 [diff] |
Patch driver builds affected by pfn_valid regression for cos-gpu-driver-builder linux-5.10.210/ linux-5.15.149 has modified the non-ARCH-specific pfn_valid() to use __rcu_read_lock/unlock[1][2] that is marked GPL and cannot be used for non open source nvidia gpu driver builds. As a workaround, reuse the old implementation for pfn_valid. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/mmzone.h?h=v5.10.210&id=90ad17575d26874287271127d43ef3c2af876cea [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/mmzone.h?h=v5.15.149&id=b448de2459b6d62a53892487ab18b7d823ff0529 BUG=b/326550811, b/326701851 TEST=manual RELEASE_NOTE=Fix driver builds for drivers affected with pfn_valid build errors. Change-Id: I0d4f272a73cab34f027104a66830c57147fb8e22 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/67830 Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com> Tested-by: Arnav Kansal <rnv@google.com> Reviewed-by: Kevin Berry <kpberry@google.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.