From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796307275; b=TC0vIJstXhnUGHQ8qgjzWPJAKPzUnw919nABnoSc+uzMd6Du/eZhKlFa+gWdSkYMXu1y 5i8dgARyHF5BV57WCfrzvf9I72fxW5326Md1sDXNo2M54cI1Cm1VDv26qiWl+v0ECDB2x vL5EjnSw6HDJDm8tRKE2a2MnkZftoq30FZQezsyvkjoICb14qwgPYEPxI2IeSuaqij6vS 2lwf7c6iXrCJIczPNnsXwcx9N0i7eJ1xHOex1hNZx//25yxg/6iHJ/EhVe8XMP1fq1coH 9B44W1Ip+wpIb08Mc7HrD0aS+YLk9GBYNHFp3B2mLtLEAapJKn3x1282ChpLtcbC5ZA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796307275; 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-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=pg/t4O0z4BVYOqeSJtJUB0KYMrGzD3hC/fdz9rbCf8w=; b=3hv6CTr1KmZs4IMvHWE3tJF8vroOA2S97wF9JRz6NoIn8NJ3BQWkiCi2iU/ac6qjq8Nu EiFh63ApdHwOorA60BpcMF6msqjBGgOzDHKXr8JQWTYlBiosQJpbZ89lbgVnOE3PpLkDt JrYcA2Hugc+K/6+MJmFGTJUL0jamXvgsL+WWTP45J/JP87j9nwFHry3Dm0pcpFypgQLNd UrimfwzAtNZ0y6v7/7sFhR2NVAqyWV5U/w40ptujj6d+eKJqOimYrLU4HwmTEbTJQjziW xoqs/ZaDcMAgGLA8C2wm8ELNbD1qZx0eMgxH4sBTvAVe7AFW5BL8jPW2LFXePtIrsDw== 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=fLEbzgaf; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=c951Q3UY; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 542B6606A322 for ; Thu, 3 Dec 2026 14:14:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 542B6606A322 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=fLEbzgaf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=c951Q3UY Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3EB6GZ3700247 for ; Thu, 3 Dec 2026 14:14:33 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=pg/t4O0z4BVYOqeSJtJUB0KYMrGzD3hC/fd z9rbCf8w=; b=fLEbzgafKT41Ye8aw9h4qxqQBYZoX9/wYM/mNrWGea9P9ESlmyC HeKVurk8di28OFBnV12HhQiGI9SYRLcGozxbOO/i73GIZDlGY1KYVENPkhBPbLAJ OAZr/D4G0RgR/NzFSnyFDKuhzVh6AJpbpW9h1lg8E9ZXnkSI+rim9HrllIMoyBZu lUCi16/rOF+4G5Q+zU25ft7zA0BfE1cpmGafWkijgZrzI7kPYQb3o/F3RzLs7jYD UXbR6DVi58uh5uortueGLFsTpBPBobsY+9r1ceagx5h6kuhedNFImT1ndG4LYbb9 Oz3dt4sFf9LyioHddksxwb824ihautJBBfw== Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb7xq0gq9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 14:14:33 +0000 (GMT) Received: by mail-vk1-f200.google.com with SMTP id 71dfb90a1353d-5f0124f9d67so123137e0c.2 for ; Thu, 03 Dec 2026 06:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796307272; x=1796912072; 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:content-type; bh=pg/t4O0z4BVYOqeSJtJUB0KYMrGzD3hC/fdz9rbCf8w=; b=c951Q3UYM6nSJK//wFqjbT9SFZhfQuOhaNxGgCTpUnymUNcE2nicwLFaViho7urxyn FQkLQsP4YCL+kpTS8TGUrVGlVYhP1f01EL6lvSKr3Gk4iSNZZcpHMDnL963RmleeVDtB vYZFqzAF1pq2SYWROSF+GVcJMPKfY8q4qfDRlyUm0a89LNx6hR3CnuNrwXZXDHz3RbVx MXRdxBSSLdM2UMPiuRVcecTt6L/zxAg3IniW3O6IJ/pOL8Ek/K/UXsG0H/Mg5NIIDqIW XtZ4x8rQnXhiQnnMkQuXX+btiPdb5dD0GNqTcIbbTQY81ByALj+UEi71YOQQVJIL2GsP xQjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796307272; x=1796912072; 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:content-type; bh=pg/t4O0z4BVYOqeSJtJUB0KYMrGzD3hC/fdz9rbCf8w=; b=zBK0jvNTgZnL6vYx9CNYc/7dAvGmO2+q+NKVgqzG8f8HYNQYdL/ZvC98cRjpP918lG y/ADBrcTrUDNZ2Bf9ijEh4xSUVW8LyhrQU35Etph93l/xFT92A3CiRL62Mn7cWefiafA fyA0oHFgrxGShy+OyKeHKe1e4V7YD9iRRi+sslEutmckaURBHgesMFsSQAFBN7wR9XbJ bCVyPHMkgVszriMA3igE2DLyVEbPVBY5MSwrqMuOUFkifKxUqXdvaKlmGro+FQE2jZvt Jza1ycmMU8fIfYtLswHwTIif9CfEAjBKI+B6QGSgoLTBKXrTg4JK837FEnOUBnN+cEIG UvVQ== X-Forwarded-Encrypted: i=1; AL+hErHYXbP23Nx/TBtZ9UQamd5WudXZFNirQ9DPSL5JHJ1qYHZsIyvmLqn5wHMhsJq1T9jdUbUVbvmLuEjHB1c=@vger.kernel.org X-Gm-Message-State: APuU4Z8bcR9+eX3VQIgpssxrvnn+fXOGlqaaTRa1S+pkt68bycRs24dX 4/pehMxLmhroJrp1dgd5/4d7uR3wYB/6SX5yzqR0le0UjAxk8XlfqCWMe/g2WJJ9qrXFaFo8IT4 I/MavPgh9ROV0oABPOI3xw1Z6dN/DXmbstdsFqKGQBFUEPpPhgesLQRj+1ozdQ0TA1rM= X-Gm-Gg: AZFdTZc9th+qR3TA0i4/7uGef61Qdw6MuHhFcXHKsqlcoNX5RE6zhLGOggetSeGJlhI ZX8CK4UhxTQu0O0jJ4GJArGznHfLcjTXwScxz6Q3VmKkd0MMOYKTSbp3ztdK3cStOe+qmi5zitF qPvD6E45GtEiSygJ2ru4I3U1DDxWFnsOQLMQxUch5ZjXqJIVUL0EZidzywqVaLdVino5h8+vZsl u2+H7DLVZEuaC2UhNoB1JnIMKAL+5MJuVO5Vlpa1pYwCs+11Y7WyFJfLo9g/BT+89R6PdKoUkpR vm7TV3yDAne94hOpTD8M/GfWJAM8uHqQHFEaP49XKZsolra8cIIudQxsVfKCJcJSbBKBVDdUqZp rhTkbeCoJa4n7cX0QV1B3nmBlxIq1kuNhiaIlywOvpiS5B2jllqh0qnkjrSVHq02vs5oMW8xQc7 NXuP+l3wRZM3kB4Nyr0bOXf4dTNSBZpbcHODjemlLUZpGribH+nSNv429fp4s9dA== X-Received: by 2002:a05:6122:218e:b0:5ec:d5e1:ee27 with SMTP id 71dfb90a1353d-5ee8af60a30mr29419575e0c.20.1796307272232; Thu, 03 Dec 2026 06:14:32 -0800 (PST) X-Received: by 2002:a05:6122:218e:b0:5ec:d5e1:ee27 with SMTP id 71dfb90a1353d-5ee8af60a30mr29419503e0c.20.1796307271646; Thu, 03 Dec 2026 06:14:31 -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-4b33a596f9csm50175095f8f.12.2026.12.03.06.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 06:14:30 -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-rc6 Date: Thu, 3 Dec 2026 15:14:29 +0100 Message-ID: <20261203141429.30840-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-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA1NiBTYWx0ZWRfX60l0M3pyVCAl IqXDa0O3LyCt5ZhPnSEx+OOZ8tVDwyAcPSMUxfwGLQ9K9DeINusl+TnNMmHW+qVfv6kHz2UTNNL 5KFFEVoqKBYpXC6qgs3RR3MpiBg4MzE= X-Proofpoint-ORIG-GUID: -KBNAmmzmFqmU8SMDowoKtNGxJB36s7k X-Proofpoint-GUID: -KBNAmmzmFqmU8SMDowoKtNGxJB36s7k X-Authority-Analysis: v=2.4 cv=cMh1IVeN c=1 sm=1 tr=0 ts=6b117949 cx=c_pps a=wuOIiItHwq1biOnFUQQHKA==:117 a=xqWC_Br6kY4A:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=VwQbUJbxAAAA:8 a=fy5wigs61QpZ8BYWZLgA:9 a=XD7yVLdPMpWraOa8Un9W:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA1NiBTYWx0ZWRfX4Of+RfEnwbi1 m4/uQGjI+woRiF9KRwbY+vQFgELHYgv8IRxKNuR93fE6Qk+haweQ8WA+Efs49npKQM/+5a/Vk8g vZzcFJ+2rfXV2P2V1BjYOArK2nxv1pDxqsu/9fmxXPhBENrUyhq30kT5Mu8Er/H78MpNUh1Uc7o V42v19zKq5ra3jnWsUG77Ft5czdpFYYFhvgCehTQ8xO7Qe5ogngaG6EBq7cFenP/dFj7rNefKdL cWxQUhIuWUJp8drPDGT0GyQGh8hDQFwR47abHHaYDaTQpiIKZ+sehQEc2WQ7xGOuEg8GuelTQ11 A+twd23ZXjzxfr9nZRYXlNH439skfxGONmrNRRlWBwip4vati8eipShjIPcRwlpRTtYvKcldDT8 FI2fybHVJykcXZ03opo9zQp4nopArA7bZqrRJIKvoPpWQbQcgz0cab0rETY/6KkRTkDT4E9bQ7e Qb1gP25m3xpYtuntKCQ== 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-12-03_03,2026-12-03_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 spamscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030056 Linus, Please pull the following set of GPIO fixes for the next RC. All the commits have spent time in linux-next, several appear as commited today because I needed to rebase when doing the PR after I noticed one of the SoBs was messed up and needed to be fixed. Thanks, Bartosz The following changes since commit fe6ff8d5d675c01793b9f051d16055dd4aa75244: Linux 7.4-rc5 (2026-11-29 14:20:14 -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-rc6 for you to fetch changes up to f4379936003e4a233ed8d7b8ab299630bae85fec: gpio: pxa: Publish the legacy IRQ domain after GPIO setup succeeds (2026-12-03 11:26:10 +0100) ---------------------------------------------------------------- gpio fixes for v7.4-rc6 GPIO core fixes: - fix a memory leak in GPIO sysfs unexport path - avoid undersized array bitmap in GPIO get value fastpath GPIO driver fixes: - fix GPIO chip leaks in unbind path in gpio-sifive and gpio-xlp - don't allow atomic operations on sleeping chips in gpio-virtuser - fix the device name displayed for gpio-virtuser devices before they're active - fix one-byte overflow in lookup entry show callback in gpio-virtuser - fix UAF bug in unbind path in gpio-loongson - fix init ordering in gpio-mxc - only publish the legacy IRQ domain after GPIO setup succeeds in gpio-pxa - only update the GPIOLIB's IRQ state when the line is actually reserved as interrupt in gpio-ep93xx ---------------------------------------------------------------- Alexander Sverdlin (1): gpio: ep93xx: skip IRQ state update before resource request Arun Iyengar (1): gpio: sysfs: free the chip attribute group name on unexport Baek Kyu, Kim (1): gpio: avoid undersized array bitmap in get fastpath Lin Tzu Yang (3): gpio: virtuser: fix one-byte overflow in lookup entry key show gpio: virtuser: refuse the atomic attributes for lines that can sleep gpio: virtuser: report the right dev_name before the device is live Tian Xuechen (5): gpio: mxc: Register syscore callbacks after the platform driver gpio: loongson: Fix potential use-after-free on unbind gpio: sifive: Unregister the GPIO chip on unbind gpio: xlp: Unregister the GPIO chip on unbind gpio: pxa: Publish the legacy IRQ domain after GPIO setup succeeds drivers/gpio/gpio-ep93xx.c | 3 ++- drivers/gpio/gpio-loongson.c | 2 +- drivers/gpio/gpio-mxc.c | 9 +++++++-- drivers/gpio/gpio-pxa.c | 25 ++++++++++++++++++------- drivers/gpio/gpio-sifive.c | 2 +- drivers/gpio/gpio-virtuser.c | 37 +++++++++++++++++++++++++++++++++++-- drivers/gpio/gpio-xlp.c | 2 +- drivers/gpio/gpiolib-sysfs.c | 1 + drivers/gpio/gpiolib.c | 1 + 9 files changed, 67 insertions(+), 15 deletions(-)