Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp130154lqe; Tue, 9 Apr 2024 17:42:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWn/EkuPONRVF8kT4CubjaW+DRMKW7P15qpBcZPBxDtq2qJbbuLWE/XdpIyczRG2SRC2w6YyX/PaRZ+i5OU3sZ8j5y8KMQfWtSovE2GQg== X-Google-Smtp-Source: AGHT+IGUoG9lg6XtBTeVLNG+/cCQf6LYbyJ62HCsZTvDX0xOPG44zLpmjwZafTnzftpp1Ick+jWZ X-Received: by 2002:a05:6870:c38d:b0:22e:dfc7:6cdd with SMTP id g13-20020a056870c38d00b0022edfc76cddmr1280651oao.50.1712709753638; Tue, 09 Apr 2024 17:42:33 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c23-20020aa78c17000000b006eb302a22c1si9302950pfd.197.2024.04.09.17.42.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 17:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137779-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@google.com header.s=20230601 header.b=RXi3DPw+; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-137779-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=google.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 422102838DB for ; Wed, 10 Apr 2024 00:42:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E24539B; Wed, 10 Apr 2024 00:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="RXi3DPw+" Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 7AD5B523A for ; Wed, 10 Apr 2024 00:42:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712709730; cv=none; b=ZcWitxUjNtsvxzLnZQxHkKP64V+AcmIlbuqOkCIZ+6WhPnWVNemetJDTaQ6TnfeTswOKCJaZYjLBhS5ggiyjX6guy2rpMVuPvIt/QXOwuuURUTCt7iD9Lh3wa2VaTK0ouUSQSkUtiDtK5yjC1yOLvD4r/Ve4e8xiGw2jyGuJlxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712709730; c=relaxed/simple; bh=6n12Zu2PXd66Y71IlQLtaUfwzP6yoiw9IUKTbil8GRo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OhxlFrpoSB97ek7DPe6QEQK+h/ZGORTEu7KHhzHjUfZ1RwXasTo4mcswX+RiZOi70T2fjShUtUWpApGRGQgie8N3jeGxXzrAGTjruRhGItk/34A4SiiMd1ltNCbayVz+Cd0Exff8AmzGzHrSEbrTETxjsQ7ueDqRcUYfHVBQCbc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=RXi3DPw+; arc=none smtp.client-ip=209.85.160.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-4348110e888so109861cf.1 for ; Tue, 09 Apr 2024 17:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712709726; x=1713314526; 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=E707FZfqJXCBcA2uPBas1hK+jmqbfEZiGJ11/cbpPtU=; b=RXi3DPw+8a609DGiSGokomsp/tcC/Zdkvf174NC0Xl7hdBOmEzriLAA39/Z44B2AVc x+k1vGgAzOyzmkE0KKB/VGAFH4OY2DcPaHwKg1TR0tIFjs7p3spuBc80Qn2qUo0/ESJ/ R7pUVuWO/BlRknRQo6Yr3g/E9P9KFLwtun1g1aONN6++2rPp/+JFTlkPK+dxP12IXhGg nmWbqK9POhXZgUaCNI9yzTgtxd/b4Km7aIfgyF8YkxkSyO3kBbCZ7I63vmazjRq5phV6 OF0uglWOZkm5x9NBsmdyf/pmdFarHAcqP2cUun4I7+x49Kdf68A4GJz3dJwVd6JitA8M aYSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712709726; x=1713314526; 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=E707FZfqJXCBcA2uPBas1hK+jmqbfEZiGJ11/cbpPtU=; b=ICjRxKxU7jV4tvmVHQ5EvscVTLa1xYG8NPTvcGMSU+EhEO5wA6wyKakyve1CmqYyKQ ffZ6kSDKGH3b9VdrOphcum0YRMFA6VDsGNCdReCUtH9UJUDdfOT6Q4bMHXtRoE8vdUez A7CtUWgY5+U431wBEikcOiKX7x8P5YIJ502bKLdhlqudQLomBtHmgtlZ8PezlxhkzhHn jnAL/oromvevrwSe/Tpz8zRfq7gkJ6SRmTa6uS1ne+WGb3Xv3I/gThgQIR/l75BjAgl7 +HrBMup/9epewItJAuGVJ2pkMVF1fjgTr+e+mXmBYIfZNRiMNJ0a3YgcdaPxdULGoFn1 meMg== X-Forwarded-Encrypted: i=1; AJvYcCXe8N76MUoLHDrNgSvOl34Q7751Dz9e3KHdw3C4c5GAy3gVrTLb9X0Dexw0k1UAo5oASFHlmGcMrKFUoM5tbMQrZ/Xga5oUyjYA3UYZ X-Gm-Message-State: AOJu0YxKDGI4fPi2fPdqljvLL5ig2rCKMXB0VTAeBxstQXiIj0PZVP46 ZXwB4nGgk+Y8n/9P/Lxt0HUb3UzyZVJcIy2KncNaJkzwi1bSk3shSllM8wdSCWQE0VzpJgr0yru m/bgmgnIXp0t/4BcD8Du/tWlYgUaVokIsq/Iu X-Received: by 2002:a05:622a:1cc3:b0:434:6677:7311 with SMTP id bc3-20020a05622a1cc300b0043466777311mr50389qtb.17.1712709726223; Tue, 09 Apr 2024 17:42:06 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240409053704.428336-1-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Tue, 9 Apr 2024 17:41:30 -0700 Message-ID: Subject: Re: [RFC PATCH v2 0/2] fw_devlink overlay fix To: Geert Uytterhoeven Cc: Herve Codina , Rob Herring , kernel-team@android.com, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 9, 2024 at 8:10=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Tue, Apr 9, 2024 at 7:37=E2=80=AFAM Saravana Kannan wrote: > > Don't bother reviewing this patch. It needs to be tested and possibly > > refactored first. > > > > Geert and Herve, > > > > This patch serious should hopefully fix both of your use cases > > [1][2][3]. Can you please check to make sure the device links created > > to/from the overlay devices are to/from the right ones? > > Thanks for your series! > > After applying the first patch (the revert), the issue reported in > [1] is back, as expected. > After applying both patches, applying[A]/unapplying[B]/reapplying[C] > overlay [4] works as without this series, so > Tested-by: Geert Uytterhoeven > > Note that the state of /sys/class/devlink/ after [C] is still not the > same as after [A], as reported before in [5]: > - platform:e6060000.pinctrl--platform:keys link is not recreated in [B]= , > - nothing changes in /sys/class/devlink in [C]. > But that issue is not introduced in this series. Thanks for the testing and additional info! Looks like I'll need to make more changes to accommodate more cases. I'll send out v3 once I figure it out, but it should continue working for you. -Saravana > > > [1] - https://lore.kernel.org/lkml/CAMuHMdXEnSD4rRJ-o90x4OprUacN_rJgyo8= x6=3D9F9rZ+-KzjOg@mail.gmail.com/ > > [4] "arm64: dts: renesas: ebisu: cn41: Add overlay for MSIOF0 and 25LC040= " > https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers= git/commit/?h=3Dtopic/renesas-overlays&id=3D222a4936b0d3dabd43bdffb3a57842= 3bff97b02d > [5] https://lore.kernel.org/lkml/CAMuHMdXNoYH8PJE1xb4PK-vzjXtOzrxNJoZhsHT= -H4Ucm=3D7_ig@mail.gmail.com/ > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org > > In personal conversations with technical people, I call myself a hacker. = But > when I'm talking to journalists I just say "programmer" or something like= that. > -- Linus Torvalds