Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp623311pxy; Wed, 28 Apr 2021 10:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKN7+16PrPXaZhwp426SYuxzmpugiQ8cZqVHRwW5WlsE6LNXOCfS3DsrGQAc+E3VQxnd9+ X-Received: by 2002:a17:906:1d0e:: with SMTP id n14mr30550182ejh.97.1619631632226; Wed, 28 Apr 2021 10:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619631632; cv=none; d=google.com; s=arc-20160816; b=q1hsxDJcLNChoXPETgGIISbpEjVmYdZzIskop0aiwN8KJwZJIOWmNecwAbJbLDRQBf nElT9IweMolEjoTB3eO+mZMeiZOZbP9aVot9vdCBFlK/gtSqFYkdJ4GlO54e20lJQX8h vNYqPaEAxkcJ1GGJOrA9sGcpJUnp6onCtUZcJ+pXH+lDZexcPs4FKcraY3Z8BDV/mZDp lkQKeC/ML5iqrhsmnhxiku5jtj2aicw3j9h/NsgbSrYU2xu7V8m4Acwwppf1PO+DfZHy 4dqfyfZfKei0qfSP84eoDPgusQzG6DSy6hhDqFMxSzjtw7Od60DT88aD2324lEIMHWg4 n3Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=qFht+zx1PoLsNlmKgN724WfPJPYd2yT3Zx3URd+ONYM=; b=iCVPVnTzA7pnHwQWLciHsFXyeaxbGsBAYUJMzLLzGslD8F9ElgRObVfVEtktsMJdN9 lDf+hXHZ4YFF1lbV2lRVNc0EITCdGPFzYk0dbDPxWE9qgCSiUlESJhw4diL5VuTtYBvh vq1E1Sh+cLWLyV5dNmFzdfvPWDICH5EChvT1sMLjZSDD/8vno3lEJhxkAYgmx7buIFI1 bL7kbKI/IJL07LKMEq49El5NuJYkYo85SkjvCl3DpoYhub9A6YPS8IR3Ca0T7Dg++bp6 O2AFCEf9vL6CAg9GDcfEvzuzaFZuvzQFrjpWzvSL1gEhZPE25ZRj3SSduEuO0n2bwTEF j5VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=SeUi5wsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si574394ejy.656.2021.04.28.10.40.07; Wed, 28 Apr 2021 10:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=SeUi5wsG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241023AbhD1Pvv (ORCPT + 99 others); Wed, 28 Apr 2021 11:51:51 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:52147 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241015AbhD1Pvt (ORCPT ); Wed, 28 Apr 2021 11:51:49 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4E49D22264; Wed, 28 Apr 2021 17:51:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1619625061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qFht+zx1PoLsNlmKgN724WfPJPYd2yT3Zx3URd+ONYM=; b=SeUi5wsG92TXP2NouVl0Atl7uAMfUU+gj2VUnkxbF/WQcSHJQBZ228wjWK6NZtZA7BY18h jRmv6NE3buEKWBUfp4Sm288Vy4EPWvUMz1dTR604TkUzj/uIincAggnbiwSsPrydwNY76B gMA+3+4snX2+jHMIqv2GyDVIfAyoErA= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 28 Apr 2021 17:51:01 +0200 From: Michael Walle To: Alexander Williams Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] mtd: spi-nor: Export SFDP access to sysfs In-Reply-To: References: <20210428052725.530939-1-awill@google.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <5e23722b1c7d6716c404667a3c5bfbff@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-04-28 17:37, schrieb Alexander Williams: > On Wed, Apr 28, 2021 at 12:58 AM Michael Walle > wrote: >> >> Hi Alexander, >> >> Am 2021-04-28 07:27, schrieb Alexander Williams: >> > Add the ability to specify a technology-specific attribute_group, and >> > expose the SFDP through spi-nor's private group. This enables user >> > space >> > to have full access to the contents of the SFDP, so all information is >> > available without regard for whether the kernel supports parsing it. >> >> Please see: >> https://lore.kernel.org/linux-mtd/20210318092406.5340-1-michael@walle.cc/ > > Thanks for the pointer! Sorry I didn't see that patch series already: > My search > skills need some work... In any case, there's no good reason for me to > duplicate > work. > > I should probably comment on that series directly, but I'll note that > one thing > I tried to do with the sysfs attributes here was avoid racing with user > space. > The uevent is suppressed until all the related files are created in > sysfs. See > http://kroah.com/log/blog/2013/06/26/how-to-create-a-sysfs-file-correctly/ > for > Greg's explanation of a scenario. Sure, reviews and remarks are always welcome. Btw. what is patch 2/3 and 3/3? I couldn't find it on the LKML. -michael