Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4637282rdh; Wed, 29 Nov 2023 06:56:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9/E8Ngm2THblFMbZ+h41YbMMnFpnfdsaRj6axVgUcayXEYPnqqGUyVykUjG+etRYRRRao X-Received: by 2002:a05:6a00:6c82:b0:6cb:634a:c83b with SMTP id jc2-20020a056a006c8200b006cb634ac83bmr23615959pfb.2.1701269790147; Wed, 29 Nov 2023 06:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701269790; cv=none; d=google.com; s=arc-20160816; b=rTxpGWqrIB+UZNPNX/MOoiGJCWzMJLKeyA9O3We2niT1UUyN0rJ20wvTo3qWIN+J9Z ElnQF9aQke9nx4+OfBvyfIOzgu7aIY6wt2AFNZMaji+MWKzYvafpIYfgDcPwY4Rk+Dx/ BJ/4Db/1J5t25Gcy2JJ87I+JBfOLt6MmxHkg4uaa60St9Ub5kumGgo4jeVWa8Y551UgF wCzaFGnENwvlRhiwmOhrJx3KN1x4Idc6up2zmoEjUIViQoYMTYp/jk5vlUH+/kqDdNhC KKx8AKvOEcvoU1gZ5RvrJhntYwNsbhlm8fwehHZjR7f5ZWXuGlFNJY4DIYlDNYVIDqC8 Y2Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0w8sJtJNe2IFo+5hrLPBLvXQAClmsdeJBw/l2nW104w=; fh=qPL+Jyu3njLGppW3ltTrSwcdAI/VHUs2yhNJON95CW4=; b=C2pslI2KKBPvvPRwVhnymTmyspQIJmMqdNciVyIJEjYBgjLg2ed0X1MU6dA5D+zq/z XGRwjfXcFaBzMpUOBo2Ce7BbSvrDcPylRN0p6pOdWzNjW3ZkmRA6GkYZbrThrOCV0oMA bPezvdJ7wI1gAymvpxa/KGpL3lJjb06oJQAN76Cpxsclwg21lGwCEz6eH/NgHHVygTUB QAeWHguNYFiW/jemjjZ50W0pJsC7Hjrr/OgZ0j6R2D3EfLHnZzBrL8sJ06rN13x0HMK+ ZDu4Jv3ywTdIcssyQBUyZg9t2EFYTdBCquBcUZfrB9quvjUnjAZmxDyUJ9+6CWq5f7Ru gVhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=aZT8slYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u11-20020a056a00124b00b006be3c302801si14526911pfi.397.2023.11.29.06.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=aZT8slYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 99DCB8094D43; Wed, 29 Nov 2023 06:56:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234777AbjK2O4L (ORCPT + 99 others); Wed, 29 Nov 2023 09:56:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234239AbjK2O4K (ORCPT ); Wed, 29 Nov 2023 09:56:10 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D59F1D5D for ; Wed, 29 Nov 2023 06:56:16 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-54b18dbf148so6236142a12.1 for ; Wed, 29 Nov 2023 06:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1701269775; x=1701874575; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0w8sJtJNe2IFo+5hrLPBLvXQAClmsdeJBw/l2nW104w=; b=aZT8slYsbXPfZY3WPMsOz5lRFOZjmHHG7Ilgpc1fnw1/LdWAkMPG8APO5OL+1QQLI/ PckV1qC74bpQ88v6sxwdOcieExvAN2OvGrYhLBpa8UjN4nRIgdr9OtLsD/CDKv5hCdOd qv2571loHJcsTt8Bs4RT1BFmAncKIdCzXlP1M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701269775; x=1701874575; h=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=0w8sJtJNe2IFo+5hrLPBLvXQAClmsdeJBw/l2nW104w=; b=ei+SylIaSZ+fyG9kJvsseN2A7AuQB9mjmFNPBHCecQzdytTU/67MpsqOazn9K1xhhe 762G5C9HPj/Re4GzPI4ZtK4HXVCLwQHxB7l0/PgHU8f73ojcG60RCPz77dyczixGHKGG djOHx8SgT+596gdIhQEaeJu/KvPe9XdtHDvxPK/JEFMSHoJQHHw2De9eHVxI3C/bsZAs 2nTJqpLp4GqAru9tl7Kjip/3z531cD1tJNKbe+HUrscSzjzk6WwngSMZFOsWW82fKPkl vQ7ebrjb4Xz6Tw+os09L4xUg4pxqImCK4I/6dxtCqK+EBNTlPQ4h8NjmOHrhw591WlGe Lygg== X-Gm-Message-State: AOJu0YyD/WIWW3elX4/3+TN9nQkGWgIWfs53MzRi1tHrHCi4knLrPMjp z94mxPjr9Zz36s/SBN+dAyZNWws7v3ps9gOBSeV1mGy9 X-Received: by 2002:a05:6402:3455:b0:54b:179e:eb14 with SMTP id l21-20020a056402345500b0054b179eeb14mr10349822edc.27.1701269775034; Wed, 29 Nov 2023 06:56:15 -0800 (PST) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com. [209.85.208.42]) by smtp.gmail.com with ESMTPSA id cx15-20020a05640222af00b0054b6259b44asm3509298edb.83.2023.11.29.06.56.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 06:56:14 -0800 (PST) Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-54afd43c83cso7317715a12.0 for ; Wed, 29 Nov 2023 06:56:14 -0800 (PST) X-Received: by 2002:a05:6402:483:b0:54b:5b14:e77e with SMTP id k3-20020a056402048300b0054b5b14e77emr7070909edv.21.1701269773930; Wed, 29 Nov 2023 06:56:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Wed, 29 Nov 2023 06:55:57 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Pin control fixes for v6.7 To: Linus Walleij Cc: "open list:GPIO SUBSYSTEM" , linux-kernel , Maria Yu , Charles Keepax , Chester Lin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 29 Nov 2023 06:56:26 -0800 (PST) On Wed, 29 Nov 2023 at 04:09, Linus Walleij wrote: > > The most interesting patch is the list iterator fix in the core by Maria > Yu, it took a while for me to realize what was going on there. That commit message still doesn't explain what the problem was. Why is p->state volatile there? It seems to be a serious locking bug if p->state can randomly change there, and the READ_ONCE() looks like a "this hides the problem" rather than an actual real fix. Linus