Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2356740rdb; Mon, 12 Feb 2024 01:57:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDOe91ZVXnggrXPcDI1dQ5QHQTArDKSZaziKwv69HtsDEFx5Bp9i6yLVzCMETZTRb3fDpC X-Received: by 2002:a17:906:395:b0:a3b:b334:2f26 with SMTP id b21-20020a170906039500b00a3bb3342f26mr4362205eja.61.1707731859404; Mon, 12 Feb 2024 01:57:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707731859; cv=pass; d=google.com; s=arc-20160816; b=P/fBRO3e+jlDExtCO/c/2PDXulJJYDW7MM7Uwp/8TLW2gqH0QAi0FGge8o4pN+4Sug 8ymFHwNhJRRSC2G5V7HYxDvoJRZdWjA5fiq04TbD6i3Vo2vCVnPAJNxtg06vIfTiehBh HgbJ+rv6AcGzxFzRu5SweVfOoRmJ10b12k0z96/uAtGKPxMYZ/vxQvF+m3E3VXOW9Z8R 7c+V6MT0g0VNPN0eUQQiaWqU1HYFJw0BkLF26EpflKDUdu0K6ireC6ExKBckB9QCxodh /4EteQ2xPa8BidZLnaTgh81AW02BnBx9m/nFHuRpMSTUDCqRFEdTh+AwhFbct8SzJJC8 KNow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oyhOHugUVAx4B66zNESjQuh6m2gkAlYGfoBW+8fBdik=; fh=53LjCKgJlCRlJu3prVOvKvtAsun5R4YLRoMEktW4cAA=; b=HiY4xXiF6GvuOO576pHxBRIIXT5yG/NGubA7vdcfxi+Bd85vVaYlMZIaxYLSiYyo1/ +SBCRuWJPMolnQMtFDWWmqi7QAH+5dDVW624z+gqwyDHAbyOyWQoXEE9vhAfb3lgK+Ex 90FufUsziu4SWZvqD8uqsncu/1Nq9/ozSLELOZ9stBHln2R1blju9oamCaDZJi43f0Z5 DUd/i4jZnv5iKdzxzxttRKws3pkFPqwc75q2N0yOjmMQxGaTOvPeXrL/p3TwKuocteTU z9k0F7nIW7QsmCp0VCuktuoggzXJtJAA9F8IxT8tjbKrK++H05kFegt/hlF4QpUHvzWk Vuzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M48HCUmx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCUBGk9/KWN7oUJG6X/BnCZN1bMlwlw/vGoHm9c9+TFrN06gt73Bu3qUF5pTKK5U3VfFJOgRTyrltlikmrpAohbU6HR3Cxx7/n/nD1zWcg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t8-20020a17090616c800b00a3c517408f0si36357ejd.85.2024.02.12.01.57.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 01:57:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M48HCUmx; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-61268-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61268-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2BD441F20EE4 for ; Mon, 12 Feb 2024 09:57:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7750417BCA; Mon, 12 Feb 2024 09:57:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M48HCUmx" Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 59A3A18032; Mon, 12 Feb 2024 09:57:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707731850; cv=none; b=r8kFkkv6eNUqJe1p4W8AvcBzLJmpRK0Tkii7RdI8VRh54rBHtDjLJSQIzSQs9STM3NnMIFi375osVpbXcS4+hRu9KAcumMito+f6d/s0+/eYehCu7umeY2ejcFLqOSuEbG8k68MaAS6JFDK2Kv2luh0QtaJKddar7TQ1UNXdOiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707731850; c=relaxed/simple; bh=eCqmbyMfVAA3HHq0HEwZ9UD08bLCGHfxEbdDbk7eRwg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aQe4Xg/DQ6jNbP/8xJNKJaxWOexw49nr5JTduUsiXzXG8Row+SReWPqz29tGxQ0ezx016YAEZk1vuuwSyrdcH0g0o+1e5dwX1OEhBv5rjZ+SNY6ma8UI5IkQ4qNCF5jbdJvjzUMJmB2rEk9vfcdGkwlivr7+kEIzSkCtYoINR/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M48HCUmx; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-29041136f73so1651018a91.0; Mon, 12 Feb 2024 01:57:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707731848; x=1708336648; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=oyhOHugUVAx4B66zNESjQuh6m2gkAlYGfoBW+8fBdik=; b=M48HCUmx4jH7JA8oEdMpCBUqJIHCTXYR/jRL2yRq5IQ+oClIuCSyiASL94YNSKyHjW kZAkMqtslKkdmRWtd2v9P6VEMhqdS/RjnYu5o9cxHqYK5Ji0GbclyV7p25++NHbitBJY kDbR7NvvguQId6v1niCHa0/hgH16wFSUYFNzK9rkpsb08FNq17ovqaR7PTl82+qglR0k 3h80o6W5uPe0aAGC1g8q8Ivwo6Mc0u3Ss2lIdAfzqq1eHEYI9Ij0kxWOpcwwSLE0YpwF rIjeYy3dVRVJysHOlioFaWaNKPsZ2U1rejJoDDdNBy/b5JRZbmyl9QJ4Vqm0phMwls48 G9Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707731848; x=1708336648; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oyhOHugUVAx4B66zNESjQuh6m2gkAlYGfoBW+8fBdik=; b=WHhetCrayu75wQOd3KavARSUNnJnITCyisF/v8HzZ2Q6sVvwdthx4RRFTJaqRl9ycq j093i3NRoOIl19Um2j7IQgIZZUEgFOQVKDjH9yL3yKV+I3vTnVDTCZH6f7g2dyxYgkrU GMToUxEiV+EoHNu3nHgyySlVTXbkjsYOxb+Emyb2n6V0Wybc9DU5ibxHHQTniIzI2FJi /an+eAX8p7v24hz/1Kc3ukVW5+CIwOWZXaYZbtqa3XmQsfVGbi6iNuUqOqS2agAQNjlE +WisPolaXt4IG5rXCNxktVGu6CpRiIrFLoC+PsIQ/hl3GFU1Xmg0eDJUns+DNiAkAG/1 rj+g== X-Gm-Message-State: AOJu0YyADs6hiFLXBpESd8VlEUSk42lC/0onZwIaCDASC9Lohqc4020X FmaEqeZFqVUocWEnKjqWzwa2LU7SS8zA2sMzvPKW1PELhMFgD58r X-Received: by 2002:a17:90b:4009:b0:295:ade7:cdf2 with SMTP id ie9-20020a17090b400900b00295ade7cdf2mr3070418pjb.13.1707731848509; Mon, 12 Feb 2024 01:57:28 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU1SmWRDClNQ9LXUj4w/Ehvs7aJrWFeaQRiJab+GrNE0rr0sdisXVFN2DPl5LG4KL0d6QFUSyPxVpuc2emQCo1Y6L6XXwxHfjxJHsU3vuxLPjOeW1u7B/DsYvUBgIRGlZ1elRUrkFohETMrhKASYwL0sRPUMZv5i3lUaLRjl1ZNsbiDOYakeD4k9mkKmaiA7hk3IyJ1WcqcR0n9Ode7Nn1zLZwT0/zIJl+njiZgjYnnFjI2cuQoJjVVujHt0qxfxB/ufvjia+gwSJFurl0ANtmNFBUfRQRDr6xaMcKqIbAquxSMnSEzeLWpX+2gi31rCg++m4b+oZc8rJNve05L Received: from rigel ([220.235.35.85]) by smtp.gmail.com with ESMTPSA id d5-20020a17090ac24500b002971390d19csm97492pjx.1.2024.02.12.01.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 01:57:28 -0800 (PST) Date: Mon, 12 Feb 2024 17:57:22 +0800 From: Kent Gibson To: Bartosz Golaszewski Cc: Linus Walleij , Alex Elder , Geert Uytterhoeven , "Paul E . McKenney" , Andy Shevchenko , Wolfram Sang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v3 23/24] gpio: remove the RW semaphore from the GPIO device Message-ID: <20240212095722.GB388487@rigel> References: <20240208095920.8035-1-brgl@bgdev.pl> <20240208095920.8035-24-brgl@bgdev.pl> <20240210053730.GA187163@rigel> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Feb 12, 2024 at 10:53:07AM +0100, Bartosz Golaszewski wrote: > On Sat, Feb 10, 2024 at 6:37 AM Kent Gibson wrote: > > > > On Thu, Feb 08, 2024 at 10:59:19AM +0100, 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. > > > > > > > fulfilled > > > > > Signed-off-by: Bartosz Golaszewski > > > Reviewed-by: Linus Walleij > > > --- > > > drivers/gpio/gpiolib-cdev.c | 1 - > > > drivers/gpio/gpiolib.c | 4 ---- > > > drivers/gpio/gpiolib.h | 5 ----- > > > 3 files changed, 10 deletions(-) > > > > > > diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c > > > index ccdeed013f6b..9323b357df43 100644 > > > --- a/drivers/gpio/gpiolib-cdev.c > > > +++ b/drivers/gpio/gpiolib-cdev.c > > > @@ -24,7 +24,6 @@ > > > #include > > > #include > > > #include > > > -#include > > > #include > > > #include > > > #include > > > > Shouldn't this be part of the rwsem -> srcu switch in the previous > > patch? > > > > That other patch was already huge. I figured this should be separate. > To be clear, I mean just this header removal, not the whole patch. Cheers, Kent.