From patchwork Fri Dec 22 10:07:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 182609 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp957678dyi; Fri, 22 Dec 2023 02:08:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHIjMRulJiZYuM6N4K9u+36zq/pVGitwGmR0vmcHV3z2YF8WoLznB2ff+vPiPPCC4KSal+T X-Received: by 2002:a17:902:b58b:b0:1d3:c40b:25fc with SMTP id a11-20020a170902b58b00b001d3c40b25fcmr1210792pls.92.1703239702334; Fri, 22 Dec 2023 02:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703239702; cv=none; d=google.com; s=arc-20160816; b=xtaRAjAg98o+tgA3MOo9eUuXOGuf5/QozD2k6vwqE459zZepvd2UYVTUX6Ge3LmJ9j KoFriflkrOkTWHuMbX934gCqqx8i+ysRtwuMgJI0Lw8qC5cGUZTnG71nPVivrv/Pd5J6 g6WScoVV+7zAyeL4r9uf/DnBUiAYxN+T9S8UQ9KxNs4CVfmgjZ2J9DVawCgf+rDbMmg/ 6b7DKtv90AcZAknRTbzeKtw1ImdVzNUiEVkaP3JE7jTt84l03SrBAfzBVWi8ISUPP8+Y W9GUwoEb+Ilj3lPKh9ktpMM+hlPR1HSVN4JeKHxi9xOQQYSwPI7y6GzUPmme4GEfcfnf la+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=R3Ni6JDHfkUKX85I2WqvXDeMrdLSOpMWqWxRpZZhE5M=; fh=AGs0aKl7D3kEimbZh4F/b6+T8lxt1R+5MFKVooz7iWw=; b=b0hfjrKTlcmNYNWwQMPH5Slt4ex6r2Zcy9cjdzbIpARNPFdENY6V0XcjnOwjvH/GPV 9QSQekeNVuY7Pvq+XgYjmG+2xRxveHdV5xbvsUOZXfWOSs3/YZ7P2FafX8ucxIkE/Xi/ Lbb3CbYbPB65ctm6U4OV9BEEl5Sc2hiP2P3yMnr+1AH6ZboWrc6ccue/fNbMbmr/Ti5L WLzzAw5qrJUcCHwbN21vZ/a7GCMG1yI9ru/Zi8g1cc44BWUjWv14gs4UA9vLpBRGEsSS gNJsaVvHEQZAWhjz6kPtfbylb7o4LcrVhaVcuVmZfDZMT6YI6T3C7Mj2BLTcVXh/EzZa jLGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=WmfCGPet; spf=pass (google.com: domain of linux-kernel+bounces-9577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9577-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e4-20020a17090a6f8400b0028aee4967a0si3210437pjk.142.2023.12.22.02.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=WmfCGPet; spf=pass (google.com: domain of linux-kernel+bounces-9577-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9577-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EACF0B2170C for ; Fri, 22 Dec 2023 10:08:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7260156F8; Fri, 22 Dec 2023 10:07:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="WmfCGPet" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 500D512E67 for ; Fri, 22 Dec 2023 10:07:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33680da01d6so1456677f8f.2 for ; Fri, 22 Dec 2023 02:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1703239654; x=1703844454; 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=R3Ni6JDHfkUKX85I2WqvXDeMrdLSOpMWqWxRpZZhE5M=; b=WmfCGPetNigN7dytELQHBCHXEBx5/gjQpP12b4YOydlNOJkw7Q4PF0hjPGXYJr767S KpVKa3HSmFXanGK2beXtSzu9CjJ0qu3MXK/4Ekn9cR+3WXK6U+3wxkEI/VpS9jQ2aJOP g6WbqQMLopsdKd9j2SK6bVr+uL9db3W86rbjwUxQZAUPC7BUN4k264k34xjFIOVodvZW yWlKNR8SGqwf1rtQaqgCdbTv4zxRl6s1Zi08o8fAYSy7b42Ang8SW3lvhVNcFMbrs/bJ Jz9uApW/Bi7lgZKZcH4T6Mq8fHE8fDVuSOWkwbMHwsIIIHAro60u5gBjDM0tDm2+0ip7 FtBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703239654; x=1703844454; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R3Ni6JDHfkUKX85I2WqvXDeMrdLSOpMWqWxRpZZhE5M=; b=wAAQdGFRUdAWPXN8xWJ4+/VtWt7AClB9Gu5sP9TnkDSYJtKKTs7v2Uv3aqi65rS0xj vSTuvAkNwJIBWyGRhhyv6NhSC2vKV4G8y9iFyxUQi4cWT+mqz0GflQLnha7PkHdwoA8s Jh0In0iS0JIr90pNSJOH0dRuD+i0A7N/8FHO/iCH8zUsVUmzwLNjocW7UDo+4MhkhZ9g F9KCWj34/q5ARBwMNOIfGwrShLUpnI1XN2zmlmvp7Xqhs6G2Lya8KQ/HsY3yI5supCQ0 Njak+sB88jOk2ef1kTVN1Y0SKgbr6i/WQvdFcktoVd5kjQHhYIHxRoznOozimgQ9PEub jWZg== X-Gm-Message-State: AOJu0Yz1rR+r/ho36JQ+cCV78HHFzhU752cOMOXLsdPW7cRRpr5QViR/ 8dgoTTvBVMWOy/4GC6XGOqu4oHpI7uj3rA== X-Received: by 2002:a5d:5092:0:b0:336:618b:5d2c with SMTP id a18-20020a5d5092000000b00336618b5d2cmr663690wrt.66.1703239654408; Fri, 22 Dec 2023 02:07:34 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:8792:dee:938e:1ecc]) by smtp.gmail.com with ESMTPSA id q17-20020adfcd91000000b003362d0eefd3sm3903969wrj.20.2023.12.22.02.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 02:07:34 -0800 (PST) From: Bartosz Golaszewski To: Linus Torvalds Cc: Andy Shevchenko , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [GIT PULL] gpio: fixes for v6.7-rc7 Date: Fri, 22 Dec 2023 11:07:31 +0100 Message-Id: <20231222100731.10294-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785976274256020784 X-GMAIL-MSGID: 1785976274256020784 From: Bartosz Golaszewski Linus, Here's another round of fixes from the GPIO subsystem for this release cycle. There's one commit adding synchronization to an ioctl() we overlooked previously and another synchronization changeset for one of the drivers. Details are in the signed tag. Please pull, Bartosz Golaszewski The following changes since commit ceb6a6f023fd3e8b07761ed900352ef574010bcb: Linux 6.7-rc6 (2023-12-17 15:19:28 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.7-rc7 for you to fetch changes up to 1cc3542c76acb5f59001e3e562eba672f1983355: gpio: dwapb: mask/unmask IRQ when disable/enale it (2023-12-21 11:19:01 +0100) ---------------------------------------------------------------- gpio fixes for v6.7-rc7 - add protection against GPIO device removal to an overlooked ioctl() - synchronize the interrupt mask register manually in gpio-dwapb ---------------------------------------------------------------- Kent Gibson (1): gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl() xiongxin (1): gpio: dwapb: mask/unmask IRQ when disable/enale it drivers/gpio/gpio-dwapb.c | 12 ++++++++---- drivers/gpio/gpiolib-cdev.c | 16 ++++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-)