Nvlink2: Additional patches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Seth Forshee | ||
Yakkety |
Fix Released
|
High
|
Seth Forshee |
Bug Description
Hello Canonical,
Could you please integrate the patches to enable NVLink2 in Ubuntu?
They are, so far:
commit 616badd2fb49932
Author: Alistair Popple <email address hidden>
Date: Tue Jan 10 15:41:44 2017 +1100
powerpc/
Add detection of NPU2 PHBs. NPU2/NVLink2 has a different register
layout for the TCE kill register therefore TCE invalidation should be
done via the OPAL call rather than using the register directly as it
is for PHB3 and NVLink1. This changes TCE invalidation to use the OPAL
call in the case of a NPU2 PHB model.
commit 1d0761d2557d154
Author: Alistair Popple <email address hidden>
Date: Wed Dec 14 13:36:51 2016 +1100
powerpc/
POWER9 contains an off core mmu called the nest mmu (NMMU). This is
used by other hardware units on the chip to translate virtual
addresses into real addresses. The unit attempting an address
translation provides the majority of the context required for the
translation request except for the base address of the partition table
(ie. the PTCR) which needs to be programmed into the NMMU.
This patch adds a call to OPAL to set the PTCR for the nest mmu in
opal_init().
These patches are, still, in the powerpc-next tree.
== Comment: #2 - Breno Henrique Leitao <email address hidden> - 2017-02-22 13:33:59 ==
In order to support NVLink2, the memory hotplugs should be applied also, they are:
0d0a4bc powerpc/mm: unstub radix__
4b5d62c powerpc/mm: add radix__
6cc2734 powerpc/mm: add radix__
b5200ec powerpc/mm: refactor radix physical page mapping
32b53c0 powerpc/mm: Fix memory hotplug BUG() on radix
c3352cb dt: add documentation of "hotpluggable" memory property
41a9ada of/fdt: mark hotpluggable memory
114cf3c mm: enable CONFIG_MOVABLE_NODE on non-x86 arches
39fa104 mm: remove x86-only restriction of movable_node
4a3bac4 powerpc/mm: allow memory hotplug into a memoryless node
Note that you need to set CONFIG_
tags: | added: architecture-ppc64le bugnameltc-151950 severity-high targetmilestone-inin1704 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Seth Forshee (sforshee) |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu Yakkety): | |
assignee: | nobody → Seth Forshee (sforshee) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-yakkety removed: verification-needed-yakkety |
Leann,
Patches for the Kernel team to consider.
On 02/22/2017 11:39 AM, Launchpad Bug Tracker wrote: 0d3ac3b54462f55 dededd0e0f 0727723e4f05395 d53321d555 vmemmap_ remove_ mapping( ) remove_ section_ mapping( ) create_ section_ mapping( ) MOVABLE_ NODE=y. ppc64le bugnameltc-151950 severity-high targetmilestone -inin1704
> bugproxy (bugproxy) has assigned this bug to you for Ubuntu:
>
> Hello Canonical,
>
> Could you please integrate the patches to enable NVLink2 in Ubuntu?
>
> They are, so far:
>
>
> commit 616badd2fb49932
> Author: Alistair Popple <email address hidden>
> Date: Tue Jan 10 15:41:44 2017 +1100
>
> powerpc/powernv: Use OPAL call for TCE kill on NVLink2
>
> Add detection of NPU2 PHBs. NPU2/NVLink2 has a different register
> layout for the TCE kill register therefore TCE invalidation should be
> done via the OPAL call rather than using the register directly as it
> is for PHB3 and NVLink1. This changes TCE invalidation to use the OPAL
> call in the case of a NPU2 PHB model.
>
>
> commit 1d0761d2557d154
> Author: Alistair Popple <email address hidden>
> Date: Wed Dec 14 13:36:51 2016 +1100
>
> powerpc/powernv: Initialise nest mmu
>
> POWER9 contains an off core mmu called the nest mmu (NMMU). This is
> used by other hardware units on the chip to translate virtual
> addresses into real addresses. The unit attempting an address
> translation provides the majority of the context required for the
> translation request except for the base address of the partition table
> (ie. the PTCR) which needs to be programmed into the NMMU.
>
> This patch adds a call to OPAL to set the PTCR for the nest mmu in
> opal_init().
>
>
> These patches are, still, in the powerpc-next tree.
>
> == Comment: #2 - Breno Henrique Leitao <email address hidden> - 2017-02-22 13:33:59 ==
> In order to support NVLink2, the memory hotplugs should be applied also, they are:
>
> 0d0a4bc powerpc/mm: unstub radix__
> 4b5d62c powerpc/mm: add radix__
> 6cc2734 powerpc/mm: add radix__
> b5200ec powerpc/mm: refactor radix physical page mapping
> 32b53c0 powerpc/mm: Fix memory hotplug BUG() on radix
> c3352cb dt: add documentation of "hotpluggable" memory property
> 41a9ada of/fdt: mark hotpluggable memory
> 114cf3c mm: enable CONFIG_MOVABLE_NODE on non-x86 arches
> 39fa104 mm: remove x86-only restriction of movable_node
> 4a3bac4 powerpc/mm: allow memory hotplug into a memoryless node
>
> Note that you need to set CONFIG_
>
> ** Affects: ubuntu
> Importance: Undecided
> Assignee: Taco Screen team (taco-screen-team)
> Status: New
>
>
> ** Tags: architecture-
--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.