Comment 1 for bug 1667081

Revision history for this message
Michael Hohnbaum (hohnbaum) wrote : Re: [Bug 1667081] [NEW] Nvlink2: Additional patches

Leann,

Patches for the Kernel team to consider.

                      Michael

On 02/22/2017 11:39 AM, Launchpad Bug Tracker wrote:
> 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 616badd2fb499320d3ac3b54462f55dededd0e0f
> 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 1d0761d2557d1540727723e4f05395d53321d555
> 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__vmemmap_remove_mapping()
> 4b5d62c powerpc/mm: add radix__remove_section_mapping()
> 6cc2734 powerpc/mm: add radix__create_section_mapping()
> 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_MOVABLE_NODE=y.
>
> ** Affects: ubuntu
> Importance: Undecided
> Assignee: Taco Screen team (taco-screen-team)
> Status: New
>
>
> ** Tags: architecture-ppc64le bugnameltc-151950 severity-high targetmilestone-inin1704

--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.