[PATCH v2 1/5] powerpc/powernv: Move SCOM access code into powernv platform

Michael Ellerman mpe at ellerman.id.au
Wed Jul 31 21:37:36 AEST 2019


Andrew Donnellan <ajd at linux.ibm.com> writes:
> On 9/5/19 3:11 pm, Andrew Donnellan wrote:
>> The powernv platform is the only one that directly accesses SCOMs. Move the
>> support code to platforms/powernv, and get rid of the PPC_SCOM Kconfig
>> option, as SCOM support is always selected when compiling for powernv.
>> 
>> This also means that the Kconfig item for CONFIG_SCOM_DEBUGFS will actually
>> show up in menuconfig, as previously it was the only labelled option in
>> sysdev/Kconfig and wasn't actually in a menu.
>
> As I've just realised, this isn't actually correct - the option does 
> indeed show up... in the root menu, where I've just been trained to 
> ignore it, and where you won't get a menu location if you try to search 
> for it using / in menuconfig.
>
> I think moving it to the platform menu is obviously a better location. 
> mpe would you be able to fix up the commit message in merge?

Yes, done.

cheers


More information about the Linuxppc-dev mailing list