Thread (25 messages) 25 messages, 6 authors, 2025-07-19

Re: [PATCH v2 12/12] pinctrl: qcom: make the pinmuxing strict

From: Konrad Dybcio <hidden>
Date: 2025-07-10 12:26:13
Also in: linux-arm-msm, linux-gpio, linux-mediatek, linux-mips, lkml

On 7/9/25 4:39 PM, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

The strict flag in struct pinmux_ops disallows the usage of the same pin
as a GPIO and for another function. Without it, a rouge user-space
process with enough privileges (or even a buggy driver) can request a
used pin as GPIO and drive it, potentially confusing devices or even
crashing the system. Set it globally for all pinctrl-msm users.

Signed-off-by: Bartosz Golaszewski <redacted>
---
Reviewed-by: Konrad Dybcio <redacted>

Konrad
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help