Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1897419rdb; Wed, 31 Jan 2024 12:29:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkV58QjKzb4cP4IYzvSD4lhdMxB279iNejly7r7VqQPwk61Bww8onsIZ7/pAqOd2RukRcb X-Received: by 2002:a05:620a:7:b0:785:445f:6a1f with SMTP id j7-20020a05620a000700b00785445f6a1fmr17558qki.5.1706732957361; Wed, 31 Jan 2024 12:29:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706732957; cv=pass; d=google.com; s=arc-20160816; b=zpBwpb5c2BZZOJi+HXd9FfN5EEFgJydLTj7WrJBRqmk3rFqCIvP9Rfj4SpyFrxGoO8 3wdDPhsTbm4HzrV4gha5vymtTTqcnMPmPfO0P7218fPY9hyljR7BjNPpL0tVoC7LcC+q Vm7etp3hmzyqAhUlMSzUL5N3L9XE0gzj4Ta5F1Ojp+ifTOWoZGdJyI0X0ywJhz3Xrwn7 1oL3SYTnSn8lyyypGcwTzDDB4AtcfwHoALPJyhlfJvydQgR8avHI1+XhbrxwFFFBbafM 4odAo2K0heOWoDEW0O7EKuUhSgXpP93sBQK19utDZslIJiqNhNx9JDm7RpAouVuMqgf5 CEWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=64KMf/+FyjVtpRUZmQKXmip+XQCMRyyekmcIwCIvfR0=; fh=xPqeAFI5Q/NVEcIctbmW+L1ndCv0aLiLbNqd4gKd/j4=; b=VkSyY3bhieCFm1EfavuRawBCHWdlqhfULOAwKT3m5OicRXIFsnEBszijqzQW/+1AGn fiIqBPe+xW9am/h7+c+yAAzUpFTqJ49Wh66oRNYzGd93KLSEe5L91KqVvHKKFtq/88Nm h7u1Lhbuk6BbrVnfkJ6jQsnKmFJo7MGa4a8YwfhTY5eDMpEphy5CJwekExuoq6nmDpd+ JEI11j7fxWSppAtmxatHY9+kEw8L0o8dtt3KndKnG0XBT6oNhs+ywiADOhbezvdRXP8/ MKercs0HbumCSHD24S9UEvcn1dQHfX9lvkvhTaqhW0acI+5KQkwhsfZuo3peFmFgOAyN BRnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cSb/6rbQ"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-47077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUTsabTb2LJv25pr90K4XPKIeecrAPb20N3HdBWGjJ3tkH+8R/rZMqMPobMpNSn5rrVyrRkr/cwIq+JOSG3BFloPUXLPHpu9q0x0AEGpQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j28-20020a05620a147c00b00783f928838dsi8118833qkl.465.2024.01.31.12.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 12:29:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cSb/6rbQ"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-47077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47077-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2023D1C22B56 for ; Wed, 31 Jan 2024 20:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 610D913E233; Wed, 31 Jan 2024 20:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cSb/6rbQ" Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (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 043A913E22E for ; Wed, 31 Jan 2024 20:24:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706732657; cv=none; b=HFQQpS/FeccoFetbbsFICgAeSjRor38pydtYNeIZ/PN6lUaZxrasGJX9GbItt6sb47pOndrJOomPVEye+aPUX2rHdmBHXr47mMn9m4tztbz4mrSI806zA6EIhdnJlLHACLkUKKgh8/o6xN6TNhOjTE77UGTzWnI4dLie/9Mco+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706732657; c=relaxed/simple; bh=64KMf/+FyjVtpRUZmQKXmip+XQCMRyyekmcIwCIvfR0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bzFbgeDocbfw4kfFV+pqZzp+nHOihP0v7+MRyd6s7n7FRiUicz8YjFhhNsmmmSPpiZjaFmoRFl11PcDOq5xK7SHugNUuR2Cue934IvcNZ8QeekiFHcy7gx4OrIUeeBluyadFMUCZmSayibkItSQfte+YuX7PF4R9FO3mi0qdHPM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cSb/6rbQ; arc=none smtp.client-ip=209.85.128.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-604059403e9so1766357b3.3 for ; Wed, 31 Jan 2024 12:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706732655; x=1707337455; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=64KMf/+FyjVtpRUZmQKXmip+XQCMRyyekmcIwCIvfR0=; b=cSb/6rbQ0yNBl6lfzR1AN2pOZbUm/8OFo6BkvatnzdMhVIQqGBHobob5lzPVhbgHqO GQzHprgxVI1xz8i4wOU5OCwYtYbJu/ANVm6a4WrylgeiR5KoX1F2RwedWkK3KvB84lc9 LC3nbcdwqSVwiD6EalSx1AhX7Kl1FXXZa+T8/p51Nph7ryrVtfw3uvxo8ncOzK8fcYJy ZHnDbqckPmAMFyw7owDg5rCGtE7a5nKsiTrDaOPTx6NPqRvSnDs9wlDb3u00Yhp6qQLG 7aFzv70gJYpQ0bvD2pPAtjYdGbSk5seqDNBgPRzgUPD6Q/mnPnbo6GMAvZR2o5JW0Z+P 6J3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706732655; x=1707337455; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=64KMf/+FyjVtpRUZmQKXmip+XQCMRyyekmcIwCIvfR0=; b=dQ9utrXg0QPG/oXiW0OENPRtBxAV/rnT2tWo8xXqeDGvHX8iRPJkdC1L9tpuVsH4nD ndKjYpQc3tK/EOpmqT2EJxXhnvybVssBW4OMXsHH9/XMgBVIxUwHJNcvqEKLp2JSk5L1 mD2OScYLE5N9od7JPTxnkgbGLvreL26ebvi0mVxyA4kV1gnIkth5j5LEbmMzl+KEP5Bh QuaT0546Zk9gV5lN4cnFv+OODVEWxh9azPUkFLX+NBXoJwFuOLQZQySENTv5/wzBZVzM 0pV52KkQtmm/YxNDxi8J4WqOZifhxeFqJwYCh0KuCUpI03hXVClMQ3zdO36pUkcwOYXx NsLQ== X-Gm-Message-State: AOJu0Yy2nrqeZ0XqTbbyARzpQEwxUR+yMkRfTuqcnga6lb5mzn59d7mO TtTBDRTwotbW6pbbP/efnujxyFu+NrupxW61/2hJz1nHzGnn6V8BsJ7t1tiKqriIPtUjzrj8ozt fQMvPa2ghsIVp3xqPfmSRJPhOlVeCMYLa4i+PGQ== X-Received: by 2002:a81:9a09:0:b0:604:18dd:881c with SMTP id r9-20020a819a09000000b0060418dd881cmr159836ywg.49.1706732655001; Wed, 31 Jan 2024 12:24:15 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130124828.14678-1-brgl@bgdev.pl> <20240130124828.14678-22-brgl@bgdev.pl> In-Reply-To: <20240130124828.14678-22-brgl@bgdev.pl> From: Linus Walleij Date: Wed, 31 Jan 2024 21:24:04 +0100 Message-ID: Subject: Re: [PATCH 21/22] gpio: remove the RW semaphore from the GPIO device To: Bartosz Golaszewski Cc: Kent Gibson , Alex Elder , Geert Uytterhoeven , "Paul E . McKenney" , Andy Shevchenko , Wolfram Sang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 1:48=E2=80=AFPM Bartosz Golaszewski = wrote: > From: Bartosz Golaszewski > > With all accesses to gdev->chip being protected with SRCU, we can now > remove the RW-semaphore specific to the character device which > fullfilled the same role up to this point. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij Yours, Linus Walleij