]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Fix duplicate firmware feature for DRC_INFO
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Feb 2018 11:54:37 +0000 (22:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Feb 2018 03:32:32 +0000 (14:32 +1100)
commit9f58cf15a652b377ab6e4e990810404caee09e82
treed386e609277dfdf8d457722310d7d8f09d34e4d3
parent7af155198d2df6d9103a8f66a6da179598f4fe20
powerpc/pseries: Fix duplicate firmware feature for DRC_INFO

We had a mid-air collision between two new firmware features, DRMEM_V2
and DRC_INFO, and they ended up with the same value.

No one's actually reported any problems, presumably because the new
firmware that supports both properties is not widely available, and
the two properties tend to be enabled together.

Still if we ever had one enabled but not the other, the bugs that
could result are many and varied. So fix it.

Fixes: 2ddd3480568e ("powerpc/firmware: Add definitions for new drc-info firmware feature")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
arch/powerpc/include/asm/firmware.h