From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 A0F4435970D for ; Fri, 9 Jan 2026 13:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767966745; cv=none; b=SUUIzGzuPVsUEjVMKHJJJy3OYr10a6R+E0yNtyAtchniOgamiUtGKN4VC7mdtVYkO7U6h5bIG51JBqzV4vwjoImNPedFNug1jTmhmsKMfPchHRqF4d+1rJo1e4/KXjhbpqM7Fb/PvDCLGc4DDp6XsQl6+fSGvmiLFmfbqpLOtsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767966745; c=relaxed/simple; bh=KrvBla/JirEaghvseumcByhjB5L8NOjH46XBhmrwSbM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=J45Pk+DnB2ZhGR1GHdEocflNFKMR/ofRY/yCyABAPVNWJGqsbwLeu+sdUcjs22EpSbtxF928HNIQI1/Kll1SP43WpDKwCct4Nf71ewi5+yzK/gpT4EPKnVFHfDTbBM+amJKsxVIV31m+ziNayIciqYaFxa45njpxXVz3g5KJyvw= 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=m97Fgm70; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=d+V/vFpc; arc=none smtp.client-ip=205.220.180.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="m97Fgm70"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="d+V/vFpc" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 609B2p4j1062652 for ; Fri, 9 Jan 2026 13:52:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=0gAXeQ8bf/Cf2YSt5r9BXE qKe3k9xXJTjuTh2aE09d8=; b=m97Fgm70n28oKPjy4+5ANnV1Lc6+tQtpw4pxht kIrXVEfyIa5II3T457kS/JYKB0OyRAgbre4ag1M86IPQrJx9HthnonlIguLXRL4X hL5trCF9DinRVyeEeant3rjN27x3aVd2dXb9Y6at/bdOmdmuOpKutM3uWimntxC/ +cz2d1SCkjOJE6CrIpPq5tOKoSgQfIc7gwpp1sej+UdvZoSF4je2vTevak3uhXGZ 6yU/qs1ItAvn7yVcgmgiIwARTHjJzzs5TQi8ADeEd2RiqMvYe41fsRIlQ2BbTcUF AoAWayJlURU8STTr6AAiagnTs2a51gJVHmF17wflHql0wAdA== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bk0f68dw7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 09 Jan 2026 13:52:22 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8b2194e266aso1046828985a.3 for ; Fri, 09 Jan 2026 05:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1767966742; x=1768571542; 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=0gAXeQ8bf/Cf2YSt5r9BXEqKe3k9xXJTjuTh2aE09d8=; b=d+V/vFpcEHN2zmHpEmbeOrYS+V8MxOy6d9TSj3aVM+r5e8kY7TkPFQFaF+GTYUr6Wd RkrrT+RLPhWsP6UZ7lBe16Bfm/cSHafzbNkwGK/JS1EiSA7aWG4r4u9cUlznBDqW/m+/ J66+apJp3/StXxpJWMYTU8xngzqwLZbB0tEINiibZQ6DUz9zKywAHc0JJJcXN1dr5npH XMgQjuM1RTCSdz7N/BOP29YG3iEkf0Y3C7DQyqeSotaLKeBsHnnNcqnijcnYMpUQUEMd sCQHfJYSKvpfJK1Fn60hxDRBQiTN946LDtZawrd87OpIb/zBV68ilfJAXZsUuI/el8Ml 6i8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767966742; x=1768571542; 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=0gAXeQ8bf/Cf2YSt5r9BXEqKe3k9xXJTjuTh2aE09d8=; b=Aq8sYgw21V99JyeeFM5FAoTVsTK8pc8gymBVOjXSyULXoxXP3nm3nLErwDb4YFADtl oUcQWIFIE9AO930T7tk3AuSH40+NreLOlpSwNe6sVTzrhRSXlkliRmy42QgCZX/91K80 Fv89EymnCEjknQ0DtdDuW+/N+q6YNPc5eP6Nek8x262aQ9jDXct6SSEUcSuwEDluKE4V C9dHa7nxyG8Ip9AhPmRimC5hJphky1R8+JH1Dg97TYlGXbKQQM7y1AaGR6HUkVwpFgtT OT9DCbTZM1mpS7LvvFKi1emaIrGT/5PpqBcWwB66CiFMrrHEnrVG2nWGLbti8SwJ+dE0 iM2g== X-Forwarded-Encrypted: i=1; AJvYcCWYWJlJzQSVrThpKgk5pR3T7ggYHBekKzTx3laJT2U1wbFjVcF+MLpfeaSH0SpzyurJR27feG78ZteUthw=@vger.kernel.org X-Gm-Message-State: AOJu0Yxwtkzyju8C8Rslsjzxy1sMxwOUD6kc6eMQhudOiBZoi4mr5i3J QiUt7n3RrvVOUb4rTaORAvoQvo42DS6JoLIIFQn7tWJmkXLm+62afKIlb3h0WdXem71LhE5CFcV o5UOzNJI4mMcjqod8DHehBVJfgjYgqtRKnXrhH+pveotLLPmwgEioeBVPuZrk5Izra1NuQCX/UQ 8= X-Gm-Gg: AY/fxX5peHhTShvxqEPTioWoO187KP4+58raWD/oUdl6ckglY3Jw/5mP8QNLJ74122L wRBt+SmM+cfI+ZEtyJsOd3oxycTxm+fPmMTda874k3Nijc74MS821QICMIlgZHtVlFw63yZl6aK rGo0BHta8GqN5zczvellQjqGYKN4076gFpMzxZfES9QbMU8MDIXTGN6iY40id8eMniel5CHkaXu +TyEpx7KxV2zF7mzochud3RdGgKsXwy/zhowFHzjJVPk9J9Peq8ql96tdCqMcSD5ZSdMHv5hNks +qnx0RceyFuDmM4tIxdrol5q5MUpHlOFbotDTPN2BwsJ90wV46dQrsxOcSA0pezKZMzMjtf2DTc wzDp6UZp/kQTbIoqsJMhSRM1qTC8mIEey2LXiKw== X-Received: by 2002:a05:620a:390d:b0:8b2:74e5:b36 with SMTP id af79cd13be357-8c38940bbf7mr1451907085a.68.1767966741587; Fri, 09 Jan 2026 05:52:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPCQGOOutzGqug/8WZ8nlMi+rYrNoXvX3Cv0heRRj6+MG8OrBrT9W9MJOcOSFq44Gzdp+VKg== X-Received: by 2002:a05:620a:390d:b0:8b2:74e5:b36 with SMTP id af79cd13be357-8c38940bbf7mr1451903485a.68.1767966741091; Fri, 09 Jan 2026 05:52:21 -0800 (PST) Received: from brgl-qcom.home ([2a01:cb1d:dc:7e00:4b2e:be6e:9187:bb3c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd5dfa07sm22468376f8f.25.2026.01.09.05.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 05:52:20 -0800 (PST) From: Bartosz Golaszewski To: Linus Torvalds Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [GIT PULL] gpio fixes for v6.19-rc5 Date: Fri, 9 Jan 2026 14:52:17 +0100 Message-ID: <20260109135218.31712-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=P803RyAu c=1 sm=1 tr=0 ts=69610816 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=kOcde2gI6Mb1oPXbj8QA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTA5MDEwMyBTYWx0ZWRfX/4jgBlB8xOp2 A7W2Oh9vk+2QygR+KLMKGmjcCqBts+DibIJYPg0oqEWZGOK4l/xVeWSRlDPWBQoIzX8oAl6ygd2 DLt8W/7vSSV0rOFhr4y2QrK8jcSsJqWWiHXMA2Ekg6T9/2B464Pb+0uNtIsNiy1faoPwEksWd2p o0YJM+my+s150NHtbXREUcbHF5Lghkj+39WP8Fht6il8gQ2BQKIRG+1EdjC7Zh3uMHdFHjB9Vdo PO0qmtN3OK+9w38J1GM2naC4DXsgvEKALFm7CKVo1C/C1Xp1rb2dM1hGCYHoID/LT9VfZC/Wkzc x2CoJFdWRnow8d+RhHZeXzFY9QJPoSD/AFI7cMibShx37o0nbdlkuw3W4hRQPx5920lhnqc47z8 ZLhQfxLkSijoOKfoXWNeQchlO8BJIJAKVhp5YlHYtF+Ntf9U2VkEjuYt0UvptS9nBxAH1d98QIJ 8pjec/CMkU4Aro4PVJA== X-Proofpoint-GUID: GMejqpFW8HLpwNlE_d6PrX9LmBEBPvaR X-Proofpoint-ORIG-GUID: GMejqpFW8HLpwNlE_d6PrX9LmBEBPvaR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-09_04,2026-01-08_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601090103 Linus, Here's a set of fixes for the upcoming RC. There are several ordinary driver fixes and a fix to a race between the registration of two chips that causes a crash in GPIO core. The bulk of the changed lines however, concerns the management of shared GPIOs that landed in v6.19-rc1. Enabling it for ARCH_QCOM enabled it in defconfig which effectively enabled it for all arm64 platforms and exposed the code to quite a lot of testing (which is good, right? :)). I received a number of bug reports, which I progressively fixed over the course of last weeks. This explains the number of lines higher than what I normally aim for at this stage. Please consider pulling. Thanks Bartosz The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8: Linux 6.19-rc1 (2025-12-14 16:05:07 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.19-rc5 for you to fetch changes up to d578b31856cec31315f27b3ba97b212e4c6989b3: gpio: shared: fix a false-positive sharing detection with reset-gpios (2026-01-09 09:56:46 +0100) ---------------------------------------------------------------- gpio fixes for v6.19-rc5 - balance superio enter/exit calls in error path in gpio-it87 - fix a race where we try to take the SRCU read lock of the GPIO device before it's been initialized causing a NULL-pointer dereference - fix handling of short-pulse interrupts in gpio-pca053x - fix a reference leak in error path in gpio-mpsse - mark the GPIO controller as sleeping (it calls sleeping functions) in gpio-rockchip - fix several issues in management of shared GPIOs ---------------------------------------------------------------- Abdun Nihaal (1): gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths Bartosz Golaszewski (10): gpio: it87: balance superio enter/exit calls in error path gpiolib: allow multiple lookup tables per consumer gpio: shared: verify con_id when adding proxy lookup gpio: shared: allow sharing a reset-gpios pin between reset-gpio and gpiolib gpio: rockchip: mark the GPIO controller as sleeping gpio: shared: assign the correct firmware node for reset-gpio use-case gpio: shared: fix a race condition gpio: shared: don't allocate the lookup table until we really need it gpiolib: fix lookup table matching gpio: shared: fix a false-positive sharing detection with reset-gpios Ernest Van Hoecke (1): gpio: pca953x: handle short interrupt pulses on PCAL devices Paweł Narewski (1): gpiolib: fix race condition for gdev->srcu drivers/gpio/gpio-it87.c | 11 +- drivers/gpio/gpio-mpsse.c | 12 +- drivers/gpio/gpio-pca953x.c | 25 ++++- drivers/gpio/gpio-rockchip.c | 1 + drivers/gpio/gpiolib-shared.c | 249 ++++++++++++++++++++++++++++++------------ drivers/gpio/gpiolib-shared.h | 4 +- drivers/gpio/gpiolib.c | 136 +++++++++++++---------- 7 files changed, 300 insertions(+), 138 deletions(-)