From: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
To: Michael Bringmann <mwb@linux.vnet.ibm.com>,
linuxppc-dev@lists.ozlabs.org,
Tyrel Datwyler <tyreld@linux.vnet.ibm.co>,
Michael Ellerman <mpe@ellerman.id.au>,
engebret@us.ibm.com, santil@us.ibm.com, hollisb@us.ibm.com,
rcjenn@us.ibm.com
Subject: Re: vio.c:__vio_register_driver && LPAR Migration issue
Date: Fri, 3 Aug 2018 14:23:35 -0700 [thread overview]
Message-ID: <d3d9e08c-70a7-aa6b-13f4-1afed294d39e@linux.vnet.ibm.com> (raw)
In-Reply-To: <e815e222-e468-4bd4-5f6f-8657fc980689@linux.vnet.ibm.com>
On 08/02/2018 11:15 AM, Michael Bringmann wrote:
> Hello:
> I have been observing an anomaly during LPAR migrations between
> a couple of P8 systems.
>
> This is the problem. After migrating an LPAR, the PPC mobility code
> receives RTAS requests to delete nodes with platform-/hardware-specific
> attributes when restarting the kernel after a migration. My example is
> for migration between a P8 Alpine and a P8 Brazos. Among the nodes
> that I see being deleted are 'ibm,random-v1', 'ibm,compression-v1',
> 'ibm,platform-facilities', and 'ibm,sym-encryption-v1'. Of these
> nodes, the following are created during initial boot by calls to
> vio_register_driver:
>
> drivers/char/hw_random/pseries-rng.c
> ibm,random-v1
>
> drivers/crypto/nx/nx-842-pseries.c
> ibm,compression-v1
>
> drivers/crypto/nx/nx.c
> ibm,sym-encryption-v1
>
> After the migration, these nodes are deleted, but nothing recreates
> them. If I boot the LPAR on the target system, the nodes are added
> again.
>
> My question is how do we recreate these nodes after migration?
Hmm, I'd have to see the scenario in action, but these should be added back by ibm,update-nodes RTAS call. There is some debug code in driver/of/dynamic.c that can be enabled that will log node/property dynamic reconfiguration events.
-Tyrel
>
> Thanks.
>
next prev parent reply other threads:[~2018-08-03 21:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 18:15 vio.c:__vio_register_driver && LPAR Migration issue Michael Bringmann
2018-08-03 21:23 ` Tyrel Datwyler [this message]
2018-08-04 23:01 ` Tyrel Datwyler
2018-08-06 15:35 ` Michael Bringmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3d9e08c-70a7-aa6b-13f4-1afed294d39e@linux.vnet.ibm.com \
--to=tyreld@linux.vnet.ibm.com \
--cc=engebret@us.ibm.com \
--cc=hollisb@us.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=mwb@linux.vnet.ibm.com \
--cc=rcjenn@us.ibm.com \
--cc=santil@us.ibm.com \
--cc=tyreld@linux.vnet.ibm.co \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).