Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp822985rdb; Fri, 22 Dec 2023 06:14:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHg/Wx3MrIkdrhbR1gGuvh08enissh4H9cWQdWFk1zkH9nY8kNeYTCekMZ8sJRBlptLXeNl X-Received: by 2002:a05:620a:472c:b0:781:64e:3db5 with SMTP id bs44-20020a05620a472c00b00781064e3db5mr1592292qkb.127.1703254472584; Fri, 22 Dec 2023 06:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703254472; cv=none; d=google.com; s=arc-20160816; b=j6dUSJDH4a31lwou+6y3xh/hdCjFeo49SWVC5Z3Q3icl5Fg8WXS1vdOvnQyI0GUicl LYJI89hAE0sF8Jslw5nKr62DECJtNdjw+Cbe/1opv97WkVC+QMvykjFVrSftbPAAZDrY f7V1bMci/2uYDudVr3jgQcpoH3iey3hzClWB5+Ho+k1l6DmHN5Zdcb66zd4YOMrcqzb8 +TP7WMsuBihhwTejDXYbMfVwdiWNUcXxMLjM8IPHoFNQFOfJbzZ4W/IjdQtj2FFz99mE hSBNrEg+Fk747t88xRKQhJpCFIqmUShjhiwixlwvHTFnLcMJ9bwQp3qCrKMJZkqQUFOF FZ3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:to:from:date:feedback-id:dkim-signature :dkim-signature; bh=oVt+LAFbFgKG82TEtbcSAhVvjHyj9SbZbARJs8bxpHc=; fh=97S/xwxVVCaDlnu7Nm/zOSK8bG14uFIXMn2+KIg2P5Q=; b=Lh36wdJGLQQKoGEJbKM2IOpsgXZiR09PIiMGf5RcdDtTOmv8z5eqH0/OlOvUfag0Mf 6jXlO5TYEcp3HAhg91us+DovYAvwwym5jHpsNGMBIohX8eXQGW/4fE/UhX5j9sWEdCLf SiPZ3yTdOejJobv45hbLLgnWTeSncn3NQwUZoemiouH27/Avh4ZJ+WORNj4dC9fAbp0V lcRNjs7OqWFMp9EJ979hOTqjyjyaQR4ZJLTdBs5VTpdsuas1GqjtLwrTQm6Ifg0+xR9O 1W7pHn2FvptFQKTMPMbIfxUnzMBbdo+K8vMl/SDkxW64NriYeWWmXxQEPYYkstPkPYGL Lpcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=kIVkH7yD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AiPCtw9s; spf=pass (google.com: domain of linux-kernel+bounces-9771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9771-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w11-20020a05620a424b00b00780fa07e4ecsi4690357qko.428.2023.12.22.06.14.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 06:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=kIVkH7yD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=AiPCtw9s; spf=pass (google.com: domain of linux-kernel+bounces-9771-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9771-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 555231C226B5 for ; Fri, 22 Dec 2023 14:14:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F11C31CF92; Fri, 22 Dec 2023 14:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="kIVkH7yD"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="AiPCtw9s" X-Original-To: linux-kernel@vger.kernel.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC5481C693 for ; Fri, 22 Dec 2023 14:14:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CD7395C00E0; Fri, 22 Dec 2023 09:14:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 22 Dec 2023 09:14:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1703254462; x=1703340862; bh=oVt+LAFbFg KG82TEtbcSAhVvjHyj9SbZbARJs8bxpHc=; b=kIVkH7yDE4jU+JW9SAUuXyc9DA JXWW8k0mOWh2kQZfANdFqGi2dPiyn/Eikt1XMsQZ5ZO9vWOQVQagzdllFfQave9Y UNqdIO4vUFJ/kyrOhlbedNRZCb6k43J+Posx/VezgPMIaxCDsAPZtSe1APGaVPdg foEksd7fVlrju5+gnbYVZivaTCI15pooFmyRKb44qNaNk7VbFhHL8ql3Duoj+Pbp CxRgJ2ZbAQMCjK8DNa5/NENMlgyjW+fuIIhr/Y5J9EA8Hd/xliH4zRoU16PfZ7Sd EMgrtLCN3ua+BvTk2Qag1hvTXOyj8Da+4XnFX4YdzUDY6vcPmjhzV4WfZGAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703254462; x=1703340862; bh=oVt+LAFbFgKG82TEtbcSAhVvjHyj 9SbZbARJs8bxpHc=; b=AiPCtw9sMXjAp9lCuZab5e4lTZDwZ+6WRLkagoavVBnV xYUShCYxhv3VyhKRO0faPvlo4Y/9P9THiSs7L6blVNuWmT/u7Dg0KXP6ZCnoFrZP PARaDPUCFKncfmLApupwc4nszr2JTclJZuDDcTE0jZAd6QESpTPD9PKmBmNwlLpY Qqosf3ap9Q+IChia6CK21Z2+zF0FCyd2nuC+jNu9+nXSBe/hB6UPtiqmSAi3V7Zg cF4m1rJie5MgR7FQz+QFjNDB84wv2x9Qk62asm0Q1Rsfenu/t2vBSZgPRqW2RHUa GkEtFWz9Zdh9sUpu1WM8JdtNQz/xkzljmkf0Vef6eQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddujedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefvrghkrghs hhhiucfurghkrghmohhtohcuoehoqdhtrghkrghshhhisehsrghkrghmohgttghhihdrjh hpqeenucggtffrrghtthgvrhhnpedtvefghfevieejhfejueeileekieeiteeuhffhgeej feettdfhjeevhfevueejfeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgpdgrrhgthh hivhgvrdhorhhgpddufeelgehtrgdrohhrghdpshhouhhrtggvfhhorhhgvgdrnhgvthen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrg hkrghshhhisehsrghkrghmohgttghhihdrjhhp X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 22 Dec 2023 09:14:21 -0500 (EST) Date: Fri, 22 Dec 2023 23:14:18 +0900 From: Takashi Sakamoto To: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/8] firewire: core: support legacy layout of configuration ROM for AV/C device Message-ID: <20231222141418.GA625065@workstation.local> Mail-Followup-To: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20231221134849.603857-1-o-takashi@sakamocchi.jp> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231221134849.603857-1-o-takashi@sakamocchi.jp> On Thu, Dec 21, 2023 at 10:48:41PM +0900, Takashi Sakamoto wrote: > Hi, > > This series of change is take 2 of my previous post[1]. > > Current core function of Linux FireWire subsystem has support for legacy > layout of configuration ROM, described in annex of 1394TA document[2]. > However, in a point of device attributes (e.g. nodes in sysfs), there > are differences between devices with the legacy and standard layout of > configuration ROM. The differences bring some inconveniences to users[3]. > The series includes changes to solve them. > > The series includes changes relevant to driver matching procedure and > notification to user space, thus could easily bring functional regression. > For safe, the series includes some KUnit applications to test the change. > > However, backward incompatibility is inevitable due to change of modalias > for device corresponding to unit. As long as I investigated, any unit > drivers in kernel are not affected by the change. Additionally, less > applications in user space are not as well. I think we can be optimistic > to the regression. > > Changes from v1 series: > * fix evaluation of uninitialized variable in 7th patch > > [1] [PATCH 0/8] firewire: core: support legacy layout of configuration ROM > for AV/C device > https://lore.kernel.org/lkml/20231220041806.39816-1-o-takashi@sakamocchi.jp/ > [2] Configuration ROM for AV/C Devices 1.0 (December 12, 2000, 1394 > Trading Association, TA Document 1999027) > https://web.archive.org/web/20210216003030/http://1394ta.org/wp-content/uploads/2015/07/1999027.pdf > [3] [PATCH] Fix missing sysfs vendor/model entries for some devices > https://sourceforge.net/p/linux1394/mailman/message/55802731/ > > > Takashi Sakamoto (8): > firewire: core: adds constant qualifier for local helper functions > firewire: core: replace magic number with macro > firewire: test: add KUnit test for device attributes > firewire: test: add test of device attributes for simple AV/C device > firewire: test: add test of device attributes for legacy AV/C device > firewire: core: detect numeric model identifier for legacy layout of > configuration ROM > firewire: core: detect model name for legacy layout of configuration > ROM > firewire: core: change modalias of unit device with backward > incompatibility > > drivers/firewire/.kunitconfig | 1 + > drivers/firewire/Kconfig | 16 ++ > drivers/firewire/core-device.c | 127 +++++++++--- > drivers/firewire/device-attribute-test.c | 251 +++++++++++++++++++++++ > 4 files changed, 368 insertions(+), 27 deletions(-) > create mode 100644 drivers/firewire/device-attribute-test.c Applied the above patches to for-next branch[1]. Thanks for your reviewing. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/log/?h=for-next Takashi Sakamoto