powerpc/eeh: Drop pdn use in eeh_pe_tree_insert()
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:30 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:21 +0000 (23:34 +1000)
commit31595ae5aece519be5faa2e2013278ce45894d26
tree326cafe0cfbe7482d33974e05d58e276af0ac501
parentd923ab7a96fcc2b46aac9b2fc38ffdca72436fd1
powerpc/eeh: Drop pdn use in eeh_pe_tree_insert()

This is mostly just to make the subsequent diffs less noisy. No functional
changes.

One thing that needs calling out is the removal of the "config_addr"
variable and replacing it with edev->bdfn. The contents of edev->bdfn are
the same, however it's worth pointing out that what RTAS calls a
"config_addr" isn't the same as the bdfn. The config_addr is supposed to
be: <bus><devfn><reg> with each field being an 8 bit number. Various parts
of the EEH code use BDFN and "config_addr" as interchangeable quantities
even though they aren't really.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-13-oohall@gmail.com
arch/powerpc/kernel/eeh_pe.c