From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795769411; b=y2wnlgCMiY4XrKvf/U+pH0TwEsFcAM3Vgf/dHGmKWvQL9r4GNVMfu84coI3FAl0R9k3I hb6ret8SCUC4kh/dfPITvT/QmEed3sIUoUjJRxOBNqf8EFj0IBm285CGS8aPycVTenMoh wktDAutExqBuZ26LYJnSx4ixOY3QSukRgMRiyeFd1RNNUGhDJSpLKTX6CCyEdw/II3gdB pEvzA6uYOgRG7uLole9jksjvlxjP0ST9SXrBSYJRXL/tspOgGVX6Pv9cEWG3Dsi21dGxg Jm9CnPXwi3DRuW7H2okPT6R38ommd/c+TVP62xjXievUUqL9I3H2BsRlJrK7zO31ATg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795769411; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=6vVA1OTONlzXQ64t6vgGmxkETkrXzMbbt0qtf4DPU9k=; b=2VWVlkobKNNmd1JWEE1ZMYXmF2eN74BH/5p1rzCqyjTAVfvj2MybKFkzQBZeS+qapI3c eSzqPXc7be30dNqawxzC5apz6FfLtt3zrE4kyJ5rBfNlaYHyIQqKgxCpBFglPh3O6ClFC LLrPHt2aohXnx0ZXT6ogUbtOf9EqjrcbJCuGIbrN40DIiWz0efHMMqANJpic3nai985wY h3h3zAZNExMVc0rj5geQ2qiU+D58gmA0Y+GJ6HWJl07gSG1qoQUIShZRLUoA4lsWjjGV5 4aykcBT9eUjdcufD7vgE8OQu2B6C+9/7m2RZ+Orh3SqFzAAm8zpS5iCNsRk8D0u4AKQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b="M/prkWfv"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=jQjcXe6L; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A058606A69E for ; Fri, 27 Nov 2026 08:50:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A058606A69E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=M/prkWfv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=jQjcXe6L Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AR7GinS2421543 for ; Fri, 27 Nov 2026 08:50:09 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=6vVA1OTONlzXQ64t6vgGmx kETkrXzMbbt0qtf4DPU9k=; b=M/prkWfvUL+aBOyCrTKUeLXVongmOLg6dpnTti f9RjKosgi6WG8psu8WR5YYWdRL0xfXU+ICqohI/YxEIaMl/Vnxiu2bIhVfKj/Hr5 HF2VINEcl3jmATzmXDUEfFWQsPjYGme9/O+hYlZdsWrsUCTdDCudeaDyb3x+tMK/ KeFibN3I3ftSf3hWKkPwfC1/VDL5GzqhxeJFjcrP1gww7DZr1C3NHc41PsCPDft4 N6lcQPH+vEb2WhejZyldcs6PjwzAO0Obg6rVxRUjZqGQsepBENLAQIXrR2WB+IrL XPDVVXY9L/gDbpCmuB9z0z5DO8Ue09HfBLwcV/C1H7DTjH4A== 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 4j6rf92ncg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Nov 2026 08:50:09 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-94961ed97d6so1301427685a.1 for ; Fri, 27 Nov 2026 00:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795769409; x=1796374209; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6vVA1OTONlzXQ64t6vgGmxkETkrXzMbbt0qtf4DPU9k=; b=jQjcXe6LxaEC83ZqODpongs22tl8ezuDBQe+g6r3+N+TXvZlQkYZU0H/VzlNMt1GnV I4i1mpHQK4KTaLjaYvT6A0zPU8/M6yFYwpVj65w2SWcnOGOwsurIVntedPmjdM7YZpMq 7PxCOmkBqelWdB8atre8hPIyC4U+2oMSyEhCUoMweVrBsU4JFVgGNVty/OoQW9+37yTo vdK7+UY35TYCAksFPiAbzoC9Fb3WW5hq81OIf5/p+gqGSL2l49vYj075+ZC/xvQhM/MU N0oATJ6+H0UBv3d2RjuuzZ06qxkABuNN1zdJQ5FLtDKDSTGbPjFiTC4lVzaI6TH+YK4m 7xAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795769409; x=1796374209; h=content-transfer-encoding:content-type: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:content-type; bh=6vVA1OTONlzXQ64t6vgGmxkETkrXzMbbt0qtf4DPU9k=; b=HtJP+Yn3lypnSPHFvWAD2NOUh3YmFiVOCUnp72iMppNEpmyWS7ZhUoa2LZFFyh3E5A zopSTJE455T3Ap0dOqu3ZzdqaYdzk0V/yo7bz0zQQxSN7/uQsqMDgntOd00kl2G3h8+h Rg0Leak0mfQToa+44AlMr9NjEy6nuBjqFiB2BOtmJyyemmoOMLSLDCH5CzYeOVonDA9m PSkfSoHttacqZSoqZYNYrNeEbHmZl8hetW5uyGXpk2jPcUTEt0HAONULue/FkjihRfvM QNPM/nsPNW+rq86N3iff7XZbAg3VOkwptO7hFXWJasGPVx3oUHwifeKQcMlkt6a+D4eC V3Lg== X-Forwarded-Encrypted: i=1; AL+hErFmFpREI2s5R8TzTObTV3bEf/9Holw03iu02pNeEaduj9Y0BZWx2umwAhMN/J48TZG821NF3ffIMzQke2Q=@vger.kernel.org X-Gm-Message-State: APuU4Z96uOxeCOwmgQZnw826xEt9CvSwbIlqXQWa+5A2jBBPjjpG/q0E cr1KcIPd02TiPF/aOxTUXVWF7ne3fsfh+ODnR7B6OCoBPHs8pdua0E25ebBBGoyJ1RZ818cFc0+ nv5y0ATxNlxfE1mh7VmVwzXXhc6UailHO3wOJpprnARt8P3slCMsrIgzdUxCWrQIKLTg= X-Gm-Gg: AZFdTZfhQiSlvx7YR7ErjZ0IusOvzNBYGh7y0zGWtcMSZ7yBhgA0Ze/ZH4lXjghHdVJ 5tbPyYcdN4jL3zNI6Hu4f4uih94En/On7AZVRIZuGCk7TfoMmMnO7Q4jW+51aGIWTxk4VGfTYoM bhWS+yT7OcQI63GJYuCaWlQuOuO0xUXfnt4KNVFdMKAXFAkUQcj+O+Rpz/UJuLBEyixUDZ4NePt oOLp5gX/jCFDnCDA6IoBn59xAM4g+Ke+S8G8OTXlBsAyWBo9lXoSOQrMnCmeKASs1MJ84JfgSmx pz80hwA4ggI4aEjO4DkI8lAIo2MZ1JGADt8OYO2zX+wJFOEOUIijn1+oOw1z9URcAM1xAj86F+d YPDH/BWOd8H5ImZVnejQ/F/GnRX8c0a0v2Z0vbAYCoasSdt5Ml5liiGm8FCyVQXKZ7QRddT8RBZ E654atfmZLZfi4CqUsaqL4TtTM52sgRwN7PzYwDhStPlKsQTaqJMtaV8LWcKxBnw== X-Received: by 2002:a05:620a:6919:b0:949:7da0:af86 with SMTP id af79cd13be357-949b35723a5mr4256300185a.10.1795769408536; Fri, 27 Nov 2026 00:50:08 -0800 (PST) X-Received: by 2002:a05:620a:6919:b0:949:7da0:af86 with SMTP id af79cd13be357-949b35723a5mr4256297585a.10.1795769408077; Fri, 27 Nov 2026 00:50:08 -0800 (PST) Received: from brgl-qcom.home (2a01cb1d00dc7e0089167b9b97a26c96.ipv6.abo.wanadoo.fr. [2a01:cb1d:dc:7e00:8916:7b9b:97a2:6c96]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf685asm46329864f8f.20.2026.11.27.00.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 00:50:07 -0800 (PST) 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.4-rc5 Date: Fri, 27 Nov 2026 09:49:59 +0100 Message-ID: <20261127085000.18053-1-bartosz.golaszewski@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: kq9l7YMvbRh-truKXdE24xLpkhxFW3gN X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI3MDAzNCBTYWx0ZWRfX8Lf79UAyCZJc SBrE+dpn4LelfHQvU8PpzlvQmRxbMxnutKUU1YI6bmTuuKra6taCUwRWw6o0O3ggULAxq6uq9xy z3VEYb+lPDt2aAc+XmVwm6dHSdLHBooWB++S+pURtRpl+TBNteCquubsSRRs/+QK7OqPkFRsyEm XzH3ih7oeky6Cenjj3/r8tuxRT3vvgvPx2ZI+tpKrXbxVdoSNFQ/gIgxjGMD+4ggoXjn/BXV1pK 2GT7w7K4CvAOIZGp1MYd8UlthlhD2iWceCAqJCBXRRYP33AFY/c8qn2M8NK/QVaUxCnzacOZEkG nIKg9EfH1cWHPkM4kf1LMRpUuzVskyG3oTbmPQjLz8LHLYcj/VuRAGb2kJLdPX5t2T9cX7REaMb uJet1ZwtncQ+opuK0D2HOVs5jq3ak15YIYNfr92Ev2LNjpM+BfhFlpAUi4KWFurQC+R52bCoeZd cw+GrZ1XJ9WnvOJlg4Q== X-Authority-Analysis: v=2.4 cv=cpkOAF4i c=1 sm=1 tr=0 ts=6b094441 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=zypKjBJkCBVBe91fG_MA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI3MDAzNCBTYWx0ZWRfX8Wsk1VH5+XLn iUNyig8vKdjkjpEb4xPIHwxOaDz4nkcvO2corG6N76ljWODcYC+qYdqjhExF+N6oegbsw58EgMf TIzRhq5F+ApZYJvjbGiF3dyogB6CEeU= X-Proofpoint-GUID: kq9l7YMvbRh-truKXdE24xLpkhxFW3gN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-27_01,2026-11-26_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 priorityscore=1501 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611270034 Linus, Please pull the following set of GPIO fixes for the next RC. Thanks, Bartosz The following changes since commit b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f: Linux 7.4-rc4 (2026-11-22 14:57:40 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.4-rc5 for you to fetch changes up to d8e27d04274746093f8d5a4e909efd9885262166: gpio: mvebu: fix Armada XP per-CPU mask register save/restore (2026-11-26 15:46:27 +0100) ---------------------------------------------------------------- gpio fixes for v7.4-rc5 GPIO core fixes: - fix several logic & locking issues and resource leaks in GPIO character device code - fix GPIO hogging for controllers using the three-cell binding - fix inverted trace values in gpiod_get_array_value() - remove shared GPIO proxies before freeing interrupts that are still requested by the parent controller and fix a race in remove path - fix UAF bugs around the GPIO label cleanup GPIO driver fixes: - fix a use-after-free bug in gpio-davinci - fix an issue in gpio-davinci where the driver could setup an IRQ for a wrong controller - validate the number of GPIOs in gpio-mvebu - use correct registers in suspend/resume in gpio-mvebu - fix non-kerneldoc comment in nsc-gpio header - fix memory leak in gpio-aspeed - do not unprepare the debounce clock twice in probe error path in gpio-omap - fix resume in gpio-pca953x: restore output registers before direction to fix potential spurious output-high pin GPIO tools fixes: - fix command-line arguments parsing in gpio-hammer - preserve the device listing error in lsgpio instead of dropping it unconditionally - return 0 from gpio-event-mon on success: we currently return the number of read events from main() which is interpreted as an error in shell ---------------------------------------------------------------- Adrian Ambrozewicz (8): gpiolib: wait for pending label frees before cleaning up desc_srcu gpiolib: free the label of lines released after their chip was removed gpiolib: cdev: do not free line IRQs again after the chip is removed gpiolib: cdev: don't sleep in the SRCU read section in read() gpiolib: cdev: don't leak the IRQ name when the chip is removed gpiolib: cdev: don't report a failed line read as an edge gpiolib: let the character device free its IRQs first on chip removal gpiolib: remove the shared GPIO proxies before freeing the remaining IRQs Bartosz Golaszewski (1): gpiolib: use the of_xlate() result when hogging lines Cong Nguyen (1): gpio: omap: do not unprepare the debounce clock twice on probe failure Dean Sellers (1): gpio: pca953x: restore output registers before direction on resume Guangshuo Li (1): gpio: aspeed: Fix potential coprocessor bank map leak Jan Schär (1): gpiolib: fix inverted trace values in gpiod_get_array_value() Randy Dunlap (1): chardev: GPIO common access methods: repair non-kernel-doc comment Rosen Penev (2): gpio: mvebu: validate ngpios before use gpio: mvebu: fix Armada XP per-CPU mask register save/restore Sahaj Chaudhari (2): gpio: davinci: use controller-specific MMIO for BINTEN gpio: davinci: allocate bank IRQ data before installing handlers Zhu Jun (3): tools: gpio-hammer: Accept the maximum number of line offsets tools: gpio: Preserve device listing errors in lsgpio tools: gpio: Return success after monitoring requested events drivers/gpio/gpio-aspeed.c | 12 ++-- drivers/gpio/gpio-davinci.c | 26 ++++---- drivers/gpio/gpio-mvebu.c | 11 ++-- drivers/gpio/gpio-omap.c | 2 - drivers/gpio/gpio-pca953x.c | 15 +++-- drivers/gpio/gpiolib-cdev.c | 157 ++++++++++++++++++++++++++++++++------------ drivers/gpio/gpiolib-of.c | 10 +-- drivers/gpio/gpiolib-of.h | 15 +++-- drivers/gpio/gpiolib.c | 54 ++++++++++----- include/linux/nsc_gpio.h | 2 +- tools/gpio/gpio-event-mon.c | 4 +- tools/gpio/gpio-hammer.c | 4 +- tools/gpio/lsgpio.c | 3 +- 13 files changed, 211 insertions(+), 104 deletions(-)