Re: [PATCH V2] spmi: pmic-arb: Enforce the ownership check optionally
From: Stephen Boyd
Date: Mon Aug 21 2017 - 19:19:07 EST
On 08/18/2017 08:28 AM, Kiran Gunda wrote:
> The peripheral ownership check is not necessary on single master
> platforms. Hence, enforce the peripheral ownership check optionally.
>
> Signed-off-by: Kiran Gunda <kgunda@xxxxxxxxxxxxxx>
> Tested-by: Shawn Guo <shawnguo@xxxxxxxxxx>
> ---
This sounds like a band-aid. Isn't the gpio driver going to keep probing
all the pins that are not supposed to be accessed due to security
constraints? What exactly is failing in the gpio case?
Also, I thought we were getting rid of the ownership checks? Or at
least, putting them behind some debug kernel feature check or something?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project