From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9FC53546EF for ; Fri, 22 May 2026 09:36:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779442592; cv=none; b=IJbfNY03KziV51duRCu8qyqokRVCrPKuveLV4GOKZGi5rP6b++xzT/BNKmagPKGlcZR753a2oLSor3xt1cfdvUpXnEYb2LTOREP6g933x8Vc98j9gMI0wUF16Z1HsVHunTauP5UyUnSby7QaIxYlykRw2GLptrA/AXD6XIhyHH8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779442592; c=relaxed/simple; bh=BV0S823fEbiEONSLnh4hH0X/gKnoK6woEQn3Y1nXYxI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jISUGI6QlcUfkJP6xd/f5kvWKg4ke6kCqv1f8e14JZvojqfKWq/yzXV9KQmh1O79RiiHTRIH9OucNWsW2vMZioMOUUMxY9M9ZsqbH1I9/JkbAYgkOWTfHpav67ytUnUnwcUjmKTx1O9pFw+WzPyD4W3g7ZPetVQxyjW9ZP0lcs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Wz2mdKoH; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cEHCbGjU; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="Wz2mdKoH"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cEHCbGjU" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64M8dnkK3673898 for ; Fri, 22 May 2026 09:36:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=t9fXxKn3Uj24ek9NXY3T0FtlAKJglumuYH5 7DZ32CX4=; b=Wz2mdKoHKXOb25lpvaCVtuqXuxsxTsZ+9YwZjipQU+tiAYd6Hyg WTLHyA1Z/iJj6MFQH4KVHcj60vRw3rgmxmFPnKBEDmLPzRTT8XawBEuMTHzJaTxx zS0AHd5DT7JzMSleufBt5QlXHGvmTDF0kQ6txNIkcYGbfYH3VKFUuZO5uK4cg8yG rOjY0LsYjsVKg7hm846YGKUqVJQF+BDB0FJ7M6WkEmrKRizkqhz01mNv2Ux23ak+ YL+EU+08ta4Ev8PT+9h64qEJFLTxEf7Rla65w1bEu5OFKvTgHFsqpAW9FCXw4od9 oFU2bSr+qDUxhhe9ZcOHYc3M+qJ+JoS8JRg== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ea4dc443w-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 22 May 2026 09:36:30 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-514cbe73d00so212816941cf.1 for ; Fri, 22 May 2026 02:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779442589; x=1780047389; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=t9fXxKn3Uj24ek9NXY3T0FtlAKJglumuYH57DZ32CX4=; b=cEHCbGjUVECh5xfcbreGCKF8GdBsgvyg/iR481xJNNCSOWdB/MiOsXk1iN23uJG72t IcZwWUnGZto8uKFrMkheDzUJvxaYgfINx6GnL9b1HAuwVXPHn2hAR5DDAOhaPWjnctK+ TqUkLx/gQr4veGZ1ajDPo8ZK+4tLFIfalmTCoN0e4OIsDUoiT6hmBZXUJ31yNxCzzbja CNOLbwpQT5+LVfhFFWKHROYgCKgOozeZVszdOXN/41l8o0VgjQnE4UFkIpOSDmF2IJd/ Fl9L1CAjnLTU9Klu+RqM9bABGbIjeQ+jvq4jbBkoO7CrkJhHXLDTX60SQrfmZIIgJSbw vLEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779442589; x=1780047389; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t9fXxKn3Uj24ek9NXY3T0FtlAKJglumuYH57DZ32CX4=; b=VOHsSsTP6JZwbzJDQQtIx/AjVPft4ulJA6B7Sgsdn5MkZsoV0Z2Rou19geUgaecplF wDxNoqQwjeO3/Kk5uj+Xr/4t9lmDxPt8HFWHQN/bNQKtJSqqP6wC1UEzviMdOC4Spo8z hX9wyJAl1O9LUz78rgVh9qorQy0AjMgyCjVWpyi93kNIzebxNqvNeKUQJZS/cGccBu2H eC3ZwaOYh+gItovpE48zFAiWfBjmhp7lwslF9Z1AI8i3wWSlXCHcnmLG0fG7Fqk4YKuq 2r9uRgLFA5k0n3j/pX05aV1SL1qfM7ksIYDwgB129GdHNkeMBovgCMVnxlvatxN5vQgu jXBQ== X-Forwarded-Encrypted: i=1; AFNElJ+uCgtJ7hgcAUUnmvte7dvEWyL0V3W3S1WxO0KvCOQtcKsAG9DwErrkPRT/gjTporpgMutwGj1PEc7Y7YI=@vger.kernel.org X-Gm-Message-State: AOJu0YxxbSH+tQKmZSRSOFGTvgulPtIyr+K0q7bNNgzpbr/ylp4u8Cx4 xfpShdpX5GQVsN9gzH2A/R09ldkoGwhnjd/g7/iyvoC3CSq6RNOGN4WQJmSX27F88la1GJnQiKQ Jby4n9s/E/eRQaEtt6zkm/uJX7BMvxCb1Sf2uYhRxsHyJZsOsuhSkVSN/MHOMHijDauc= X-Gm-Gg: Acq92OGAKIb6CDC5clv8J5qPWRYSp3O9TisiiUJ8FnlJzUW/CBhS7x4VEMp0X/o9REB CbyFWNPLtimHhytOJOUk2Js/X2CB8kB7L+dcaRPQ5brRFC7glKXlFPFfzjieS+/z5cr62A2QNUj liVhIRG762Ue/8nO9MAbZt6ztMaiRkemfxRC6ib8lh/hkZzWAIXcNhPGez7oy5CMgHppd1yA14e ArTv5GRNX5K5VrG+btiogrbo01wJ5xj7jJSNpjub47F6fKkhPoJjD+OHxvjinSadjZEhTqgpKL4 xkg6pH4M0F2/kcBvKoWp4rfIdyqXJDLSsCoMV6Dn1I23dnSwAexNcXnUAVPC0u+ZY/sZrL8wtrQ ISKlg2kygb3dIOhTQ99B9awmk9c7sfCqWjrVQlo6dieP5Yy8o X-Received: by 2002:ac8:7d02:0:b0:50e:42ec:ca7f with SMTP id d75a77b69052e-516d4419a20mr42827941cf.18.1779442589155; Fri, 22 May 2026 02:36:29 -0700 (PDT) X-Received: by 2002:ac8:7d02:0:b0:50e:42ec:ca7f with SMTP id d75a77b69052e-516d4419a20mr42827711cf.18.1779442588688; Fri, 22 May 2026 02:36:28 -0700 (PDT) Received: from brgl-qcom.home ([2a01:cb1d:dc:7e00:2fa:6280:a48f:fb37]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d493dfsm2920500f8f.23.2026.05.22.02.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 02:36:27 -0700 (PDT) From: Bartosz Golaszewski To: Linus Torvalds Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, brgl@kernel.org, Bartosz Golaszewski Subject: [GIT PULL] gpio fixes for v7.1-rc5 Date: Fri, 22 May 2026 11:36:22 +0200 Message-ID: <20260522093622.24099-1-bartosz.golaszewski@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=VefH+lp9 c=1 sm=1 tr=0 ts=6a10239e cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=xqWC_Br6kY4A:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=VwQbUJbxAAAA:8 a=ydHDWRyBP_B_bGc9ZDIA:9 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-GUID: 5U9DWHHMoykpU06_VI-Ro9ziwXbDSTWE X-Proofpoint-ORIG-GUID: 5U9DWHHMoykpU06_VI-Ro9ziwXbDSTWE X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIyMDA5NSBTYWx0ZWRfX+isCx76TvHV8 Lb5Ozt60xL7ekCUOZYDDoTDSf4bSMsU2fCigNiqhTY5cF0H37+xcCJVdHp2+mc8id4cD7WmRONa Lwj5md9sB5026jXTIXVdum1UP8fqk9HfDemPSzFDXAnPjFzlfIqMa7lqIqz5ug3mS3LoQF9qcKS pGtn2Xgd903/6qFojIbyktUBzARZRu09LcDoqXkRGENMjIzlC4bSIiBDoiH3sPLKmRKkIFY0Ghg ORIYxR6dFl1UsVHnsnm+/skE3b418zimpI/kX1D5qZ7AJAF71cc826VVeDFgofQzmw3vE2naecE zbedorDdhzlOv+DF2gzCXuiftvLX1FXRTocw7FZBrgCzHpHAUA1+gaIX9pD5k/dhqdJiRZJTjKd fw71BnWsdmCUnWVVOOQNKgX9nLgX1l8XzcmVmwpmGD1h30fxJf2djXJZpy2+IuPvA6JuXQDFqPB p82Xq9dfYRUdVnPMQpw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-22_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605220095 Linus, Please pull the following set of GPIO driver fixes for the upcoming RC. Thanks, Bartosz The following changes since commit 5200f5f493f79f14bbdc349e402a40dfb32f23c8: Linux 7.1-rc4 (2026-05-17 13:59:58 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.1-rc5 for you to fetch changes up to a4fa45c1d980bc2b9837f469119af24a9304a1fc: gpio: virtuser: lock device when calling device_is_bound() (2026-05-21 14:36:07 +0200) ---------------------------------------------------------------- gpio fixes for v7.1-rc5 - propagate the error code from regulator_enable() in resume path in gpio-pca953x - take the device lock when calling device_is_bound() in virtual GPIO drivers - fix software node leak in remove path in gpio-aggregator - fix a potential use-after-free in gpio-aggregator - harden the GPIO character device uAPI: check that line config attributes are correctly zeroed ---------------------------------------------------------------- Bartosz Golaszewski (6): gpio: cdev: check if uAPI v2 config attributes are correctly zeroed gpio: aggregator: fix a potential use-after-free gpio: aggregator: remove the software node when deactivating the aggregator gpio: sim: lock device when calling device_is_bound() gpio: aggregator: lock device when calling device_is_bound() gpio: virtuser: lock device when calling device_is_bound() Stepan Ionichev (1): gpio: pca953x: propagate regulator_enable() error from resume drivers/gpio/gpio-aggregator.c | 15 +++++++++++---- drivers/gpio/gpio-pca953x.c | 2 +- drivers/gpio/gpio-sim.c | 11 +++++++---- drivers/gpio/gpio-virtuser.c | 9 ++++++--- drivers/gpio/gpiolib-cdev.c | 13 +++++++++++++ 5 files changed, 38 insertions(+), 12 deletions(-)