Ubuntu18.04: GPU total memory is reduced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Joseph Salisbury | ||
Bionic |
Fix Released
|
Critical
|
Joseph Salisbury |
Bug Description
== SRU Justification ==
Due to a recent change for powernv, now the total GPU memory is no longer
available. This impacts performance for any application/
large GPU memory utilization.
IBM is requesting mainlien commit 7acf50e4efa6 in Bionic, which reverts
mainline commit 4b5d62ca17a1.
== Fix ==
7acf50e4efa6 ("Revert "powerpc/powernv: Increase memory block size to 1GB on radix"")
== Regression Potential ==
Low. This is a revert that was also done upstream due to a regression.
Limited to powerpc.
== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
== Comment: #0 - Michael Ranweiler <email address hidden> - 2018-09-10 19:26:14 ==
Due to a recent change for powernv, now the total GPU memory is no longer available. This impacts performance for any application/
Previous amount of memory : 16128MiB
Current amount of available memory : 15360MiB
From Anton, describing the recent change.:
powerpc/powernv: Increase memory block size to 1GB on radix
Memory hot unplug on PowerNV radix hosts is broken. Our memory block
size is 256MB but since we map the linear region with very large
pages, each pte we tear down maps 1GB.
A hot unplug of one 256MB memory block results in 768MB of memory
getting unintentionally unmapped. At this point we are likely to oops.
Fix this by increasing our memory block size to 1GB on PowerNV radix
hosts.
Fixes: 4b5d62ca17a1 ("powerpc/mm: add radix__
This is fixed with:
https:/
CVE References
tags: | added: architecture-ppc64le bugnameltc-171272 severity-high targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → High |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Joseph Salisbury (jsalisbury) |
Changed in ubuntu-power-systems: | |
status: | Triaged → In Progress |
Changed in ubuntu-power-systems: | |
importance: | High → Critical |
Changed in linux (Ubuntu): | |
importance: | High → Critical |
Changed in linux (Ubuntu Bionic): | |
importance: | High → Critical |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
tags: |
added: targetmilestone-inin18041 removed: targetmilestone-inin--- |
tags: | added: cscc |
I built a test kernel with commit 7acf50e4efa6. The test kernel can be downloaded from: kernel. ubuntu. com/~jsalisbury /lp1792102
http://
Can you test this kernel and see if it resolves this bug?
Note about installing test kernels: unsigned .deb packages.
• If the test kernel is prior to 4.15(Bionic) you need to install the linux-image and linux-image-extra .deb packages.
• If the test kernel is 4.15(Bionic) or newer, you need to install the linux-modules, linux-modules-extra and linux-image-
Thanks in advance!