Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp89861rdb; Fri, 26 Jan 2024 20:54:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHffB7Hhan4EZND29B5HqSK372gWcorCSRa3iAUpFW16mlUKFNTc+7thcEgWVZT1V2oPHod X-Received: by 2002:a25:ed07:0:b0:dc6:2398:6c55 with SMTP id k7-20020a25ed07000000b00dc623986c55mr953084ybh.30.1706331241930; Fri, 26 Jan 2024 20:54:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706331241; cv=pass; d=google.com; s=arc-20160816; b=TlQHFOdlmN8XpIVaK6/FNCjGlsY55FmbxWAbfEF/KkwLm8HlsGlhHuR51oewogmP7O 9nw3i9jbnwia8Qu2MWb0g+v+lZ2NGXpfjqmecfN48FpXhZhyO5kPYVpN5QQ1V6hLwX/1 ytT0ihRPKVPMjZZLdM8PhYe6ElVBQIdbYAtxm3nPo2PQoWGjkvyDslgnUUGBtPbsQf1O Ko7b5IW48OwL33vrs7jwLV889DEH34EChd+YKs8E29TyxsblPXsq+ii9pFlUP6DJ6jt/ yJqEcXKThs5K8HPqLHZG4G3JSKZ8T8UfWSDb7NSrtScAKQT4dKVPB0NRdfE1htyNahbx KxHw== ARC-Message-Signature: i=2; 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:message-id:subject:cc :to:from:date:dkim-signature; bh=5rcChQUgvfsiKRpuPdADrQBlDBpLo/sqa/zUOhH1WQs=; fh=FUVbyeoeMCRuVASjKZRlZMOsivR2fvypT++W9fHJd9A=; b=d4iuesVf2kGYLbAgYQrfOQp91vhp/9iBDdeCuNRdEKL4ehOug5ZqKmJEfmxcZzjBuQ sK/xYL9TbZrBkRfCpKZGD8SZYyINaJFWc/RC3gaifdlv1ezckTafXbK8wkO/K+j25zA4 attfMWVlBnxjjo0dpNMZiEXJIH5RBvME8eCyzPNBd4BURKWUR8Zs9jIBqQYWAfDhqs3U tgduL7PNnQhT/4r/822cS1FnHVRmIxBLtaHZ1VZZ3c8fdLLGu7rmUYfP3CIY1duCFhRT A6ycWBQ5S80DFk2YRD3RiG/DiUtQ420C3vjz/amSeZU1/k/gyZDe0IQn5kB9yY879buo KTcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=XnZwdjn3; arc=pass (i=1 spf=pass spfdomain=pobox.com dkim=pass dkdomain=pobox.com dmarc=pass fromdomain=pobox.com); spf=pass (google.com: domain of linux-kernel+bounces-41065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pobox.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j193-20020a638bca000000b005c6deead022si2208306pge.603.2024.01.26.20.54.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 20:54:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=XnZwdjn3; arc=pass (i=1 spf=pass spfdomain=pobox.com dkim=pass dkdomain=pobox.com dmarc=pass fromdomain=pobox.com); spf=pass (google.com: domain of linux-kernel+bounces-41065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pobox.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 71322B2270D for ; Sat, 27 Jan 2024 04:53:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0498A134C3; Sat, 27 Jan 2024 04:53:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="XnZwdjn3" Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (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 C82F4A31 for ; Sat, 27 Jan 2024 04:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.108.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706331229; cv=none; b=BtdLIZlCFL6I5ORgBA4evdd4NwXHuSyKIZ6EbXVTSvJBZhAhS/+JGFv8enJP1YgkmtNe9MlSFaIjGh3VHpuWHq6iun07VcQe+ukaVRE51Tk7Yux04OCgcvirRU9H2jLDN+dIXVZ5TC3CMekj/xL2bsOmDFFCOa+Bw3gWkkUo0nE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706331229; c=relaxed/simple; bh=MdyZOJ2MLG45IFKa5afWhzsDm/JXXyjM9TF8krZvgEw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qTmYtyFIFkSjn1n209LLaapqTKuN6SHTJPRm7pLt368NTRuZNPL/X9u5fqsra0X7XRaRpWIljVkStSFDSAcMMq8u7ui2qZLoBGeUqYcTmFT3VlwGh99XU+wNtnqvDIzXLd377vqY0wUyLEYLHmdtzaXOe+KM5XhDO1w9SabNbSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b=XnZwdjn3; arc=none smtp.client-ip=64.147.108.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 34DD21D26FC; Fri, 26 Jan 2024 23:53:46 -0500 (EST) (envelope-from adamg@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=MdyZOJ2MLG45IFKa5afWhzsDm/JXXyjM9TF8krZ vgEw=; b=XnZwdjn3fAWvCGp+AUGGGeADMRoO8oon8+VOVkf8fcpr9o19obkkKiE PVFZr2ZLy/EuTQOCz0PtnSGsCBUOUgFOgKIFMiIcdAlwdkL95WnQ487HEqY2WLV4 mVCXoOflWC+dmCpaNHjF1KvqjVCLBM83wMFAq7NgU4YS72dIWLRE= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 1B9971D26FA; Fri, 26 Jan 2024 23:53:46 -0500 (EST) (envelope-from adamg@pobox.com) Received: from pogo.deviceside.com (unknown [71.19.144.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 7955A1D26F9; Fri, 26 Jan 2024 23:53:45 -0500 (EST) (envelope-from adamg@pobox.com) Received: from iguana.24-8.net (99-122-168-208.lightspeed.irvnca.sbcglobal.net [99.122.168.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: iguana@pogo.deviceside.com) by pogo.deviceside.com (Postfix) with ESMTPSA id 45F81C09AC; Fri, 26 Jan 2024 20:53:44 -0800 (PST) Date: Fri, 26 Jan 2024 20:53:42 -0800 From: Adam Goldman To: Takashi Sakamoto Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firewire: core: mask previous entry's type bits when looking for leaf Message-ID: References: <20240126011705.GA22564@workstation.local> <20240126121917.GA99160@workstation.local> 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: <20240126121917.GA99160@workstation.local> X-Pobox-Relay-ID: 0D2A065E-BCD0-11EE-95EC-25B3960A682E-07713566!pb-smtp2.pobox.com On Fri, Jan 26, 2024 at 09:19:17PM +0900, Takashi Sakamoto wrote: > I think we can handle the quirk of configuration ROM without changing > the kernel API. Would you test the following patch? (not tested in my > side). > > ======== 8< -------- > > >From 83bf1e04d308ea89c76c64e3168b9701f9d9191b Mon Sep 17 00:00:00 2001 > From: Takashi Sakamoto > Date: Fri, 26 Jan 2024 20:37:21 +0900 > Subject: [PATCH] firewire: search descriptor leaf just after vendor directory > entry in root directory Hi Takashi, I tested your patch with the DVMC-DA1. I also tested it with another device with normal placement of the leaf entry. In both cases, it works. -- Adam