Received: by 2002:a05:7412:d384:b0:fc:a2b0:25d7 with SMTP id bq4csp4848rdb; Wed, 21 Feb 2024 13:48:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVdZtPybFEoxaQwVsLVlSKZEJsI8WEr/jXyXQStFljQHwkV9/XU7ToTYt3cPjEj0hNkRsk8ZvBsvDIFhmTMR69tEMKn+bTyYZer1FEEQA== X-Google-Smtp-Source: AGHT+IFVuMIsBxW978R0dt/4+AuEIR/ThJ4M2Ox089itGgFnjTVSES+QFNy4HGjlxr0UUmTpKbs2 X-Received: by 2002:a17:907:100b:b0:a3e:876d:1b1 with SMTP id ox11-20020a170907100b00b00a3e876d01b1mr7565994ejb.20.1708552108553; Wed, 21 Feb 2024 13:48:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708552108; cv=pass; d=google.com; s=arc-20160816; b=qABMHbGmVxhDDLTMEwTcMT8jhCzJ68G3Z+wYeykdEH2K+qrN0ogn7aOR6JJ+sPqKVi zQ9fEYpiZhUWIpGNWgu3tHFZ8/brycF96z7QgDnojhc46sZRkU7sPwzK7M6RhFJUtE0F JXZ64+gf+IdrB+r3W5gF1rVIsJQuQHF6RIrshvSQJsgI5Bt6DNc1qVCldGGrmdU5/7GL TchQp2xqkFBy8dvW/WxGe/3dLYo4dlMgjmz4TNGHQmeE53wNJarCtcUhR83itQbtSHVJ 4i7h982VrCJyqZxQnggaTE4T8getWGSc0Fct2VRho7kPnNYh83MmXdb+82ZuiqURw9sC btYw== 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=ApJiKKxB8Nyth68y0DtWmEyhbZzJmJ7hb4rk78a9X3k=; fh=qspGw+WI/clfBZcoHIXiPGVCSmAIJ4bsRQoDoyKanO8=; b=m0UVd+QEztvOcYSQhcmB4FrQSzwxjKfSBZSU822mZREL2acStLdsB/BUgl86gygo0r bEWCq1ifvmWBmjpGH0EErR+nnakywj9B+WQu9x7qruFu/8zhuKVyPRLbvqj3aviXLS+r UMOTv4hFc0oOrWMlYwnr9YsM6Mh5a2BdOq4mrfwWlLsPpCmT768XBCZ2ifilwl0CBJeX mxVh1yBv268j9gjI0kUs9hrWxM3W4i8mwTD1J7Oxn/7tU0m5F6UQn6hODSOlZGb6XQ/h xrbA3tbFRhO/so0J1+m3JXMr52xIaR1H7y5byXagiTVAtI56d9E7a2r/E9Fb2Y8E0zsq ED8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmgKXD4Q; 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-75571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w13-20020a170906d20d00b00a3d20ec721esi4958555ejz.88.2024.02.21.13.48.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 13:48:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZmgKXD4Q; 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-75571-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75571-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C9D521F22B30 for ; Wed, 21 Feb 2024 21:46:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AF9112A14C; Wed, 21 Feb 2024 21:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZmgKXD4Q" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 C94A1128817 for ; Wed, 21 Feb 2024 21:46:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708551970; cv=none; b=M4juUwm25JmeuftaoE6dUKHQFZUq7mnG22uBxxfHfggUYCKjFC72vcN0q/yVv9+dWHl/ETYSz3kQLmD1fUIlRsg1WumRBrB2N5/XyFDtOiks0uS9Fzhn8Glm3YyTQ9hr/BfqJv/SBIh751Aq5pRh0DPHap/cMZ9EdgIEe9ETxpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708551970; c=relaxed/simple; bh=ApJiKKxB8Nyth68y0DtWmEyhbZzJmJ7hb4rk78a9X3k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NMrLaKx5eDBwsI/5AJ5OCxNRpjW3j49GKYks3mOK4SsB1nM0KHtJFckbMOlvFVnqcUUwr6w6rfWEZGe1cDv4mX+Y9GVB01hsbibHpXLjNIoO9T5eh+dJxUMeHrKT4KNRVQcOTNqIR7PiSfRmzpjq2dzRkVf+yo+x352D6zTQ8ps= 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=ZmgKXD4Q; arc=none smtp.client-ip=209.85.128.180 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-f180.google.com with SMTP id 00721157ae682-607f8482b88so55755967b3.0 for ; Wed, 21 Feb 2024 13:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708551968; x=1709156768; 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=ApJiKKxB8Nyth68y0DtWmEyhbZzJmJ7hb4rk78a9X3k=; b=ZmgKXD4QqBpUGTTOaClU1KEg7SESooeNJvUqz50ldEDb4DMDj07do5q5ckq6e76baV iH9JC9m2Li2u9fAg06XwUavptLrozxORGEzzgfD7YUb+v31o6VCO83OO/K/Bi4K48sLj Egyd4CB0D5zQ7oYdy8RhbR+5G2oOGDW89oFHNPJXeaEgJJxAqzmkuITnTFLyIlRGwzfA RahxWx6l0DBmwHAifjfNhlqUIPWj3zX2bpwVghKKPzkQFag7VcK+iMcDEsRN/nBpHbN8 VunW2vcpAnHmZJCTdIfW6RBmI/EmU6yEc0GzHH8Jt45IBZhaEGr0qCVsXxjSga/Ic11M njnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708551968; x=1709156768; 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=ApJiKKxB8Nyth68y0DtWmEyhbZzJmJ7hb4rk78a9X3k=; b=FkhbHgS9DdmRDUtNIJy+ggRje8BDGPqE2g0/qMRoQCuCnXjvxOsAn/GAHEHFyY2Au/ lPkqtyrTGqA+EYOJbEDJAn9/6+qMtmzr5DNOjP2/EX72s43uiIBc8uGg/sPi3CSXalDx XcehkjZUgPbAl9Q3RHwgBKYsc1qDLkVnp0aa0phTdDzdFrkPRuApgLiruOVXlj1emUCa tKGj6t6JOqN3D0ahRGk6tl7L6OiBH1zV3H6hg8D0/ZqLwjgjeCO7K6JheYqJxjIOoCRJ Jv4Rs745yVHTguDDlmlMZ7NoAYr/cjcRp9DX4ZPTUlcd0SzX+pDfyci9OymS3HyQnNEL AIqw== X-Forwarded-Encrypted: i=1; AJvYcCWBdWyd+RlPJADzYbxPPdIZi+1tF6l4N/DmjxG+cUC/T7MUFNY/bpGJBmPxbiCPiha/eyeZt4WO72P+kAbHUQB7GvLEzD+nSasNV7j1 X-Gm-Message-State: AOJu0YxgGHdDhswjVuAFnibR5OR1LVyhFO6IK+psiUp9hq0ENid3lQEs PH/Oy/9l0AhOKFEc2vRdyZZJXiR32/n+lVrFI0HoqmtiBjEizSFKBDBuWeUQxK+aIRYcKkANDqI oviSTZ6FXGszfxlgOYe1kjpUXcYfEK1YN1V50cQ== X-Received: by 2002:a05:690c:82e:b0:604:b08c:348d with SMTP id by14-20020a05690c082e00b00604b08c348dmr17415466ywb.1.1708551967845; Wed, 21 Feb 2024 13:46:07 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240214084419.6194-1-brgl@bgdev.pl> <4a08c610-c249-4b56-b09c-09e1fd07f723@paulmck-laptop> In-Reply-To: From: Linus Walleij Date: Wed, 21 Feb 2024 22:45:56 +0100 Message-ID: Subject: Re: [PATCH v2 0/4] gpio: fix SRCU bugs To: Bartosz Golaszewski Cc: paulmck@kernel.org, Kent Gibson , Alex Elder , Geert Uytterhoeven , Andy Shevchenko , Wolfram Sang , Mark Brown , Dan Carpenter , 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 Wed, Feb 14, 2024 at 8:08=E2=80=AFPM Bartosz Golaszewski = wrote: > Unfortunately, it's hard to fix 15 years of technical debt. :( If it's any consolation I didn't create this one technical debt on purpose. The actual mistake creating it goes something like: /dev/gpiochipN files ar= e nice and we can clean up after a file handle is closed or terminated, I wonder why people insist on using sysfs for so many things. All the file semantics of handles going away by being used etc, that's why sysfs is good. I was too inexperienced to understand that, or I would have paid more attention... Yet I think we ended up in a reasonable place. Yours, Linus Walleij