Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp407331lqm; Wed, 1 May 2024 04:39:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKQXA28sHw+uAeaEYDQ71CDhFs0RBuVIUmyZFAIAafggGmb5XEBQSfxRpIkvFKGjHhk2aVOY37zJ9HCqqrCIQlH8tLVcCCnxRqUdy2cw== X-Google-Smtp-Source: AGHT+IFlOWScMA2EBvhyodOClGFd6L6CzL5qfotA9X7e5e9HN+9eCKylNclFcxnumDj+3w3dwEpy X-Received: by 2002:a17:906:5807:b0:a58:8736:3119 with SMTP id m7-20020a170906580700b00a5887363119mr1467221ejq.64.1714563581254; Wed, 01 May 2024 04:39:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714563581; cv=pass; d=google.com; s=arc-20160816; b=TLKf3Fwu8E41AkfnKRK56zvVCdeGMfMXGGhLYz3AYQaeatm0Auh0Hshkp6hL+YM4mI v1pgkFhro0Y7tgu5ASrk7tejYsswns/tHntbvu4EKAmhkA5Mzz5oJF+Kg2cM65qp2n7j 0FOqjY48ItPPdvLRek2dludisbLMFYGIi5JJp0Ex223nXQRbY7/8GukFfAEsjIezPHGX 1c3YFM90+eCYMgTUFLP+Sr21r9lBhBaRYy8WP3aGilQCryXB5ZxgAaIYl0BfBKeNqWpT TCPnMBGb0HPuQ5sN2vVYxbhvKPzrDXcSUBn4aD0En+lO+LiMgeXdEAwH9cQZgsxgYEmk 3JWw== 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=Di4cSP7y+c6YoKtjRHYGruBoICRI3RuPWKcWsCM2tV8=; fh=FUVbyeoeMCRuVASjKZRlZMOsivR2fvypT++W9fHJd9A=; b=ipsk0Iai+kN1sn+GqTpGeIAZSpGdU+U+aDgDlWTLEwqNvY6aHd5z+R3YTfEvPWn+W/ MWgRT102yTBtKEfB5YX+yIN/vGoQKBN0CikluFVOttAANzVg9PC04pQB35JPi+PcOTRg Yn1Ea9u8Spqap9eAyVxGshD3rhdXueT+9JxsWL90OldRYjFi0NQMvFJAu7qlqbaRO7Zw 0tmoYvzUTQqJsKU8GDShchXvdTVh2QQOpVZzDv7jWPl0Ab15GkTF2iA4ealxw9bH2HyV NL/YFqwJY1Wfy14KqnNdL7keXsTG/r8ME/LksTmL1/4EKywiekJoF6Fz864oDG9aLCF1 0yfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=WHxdslQs; 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-165198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pobox.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t7-20020a170906178700b00a555ddde855si16192378eje.369.2024.05.01.04.39.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 04:39:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=WHxdslQs; 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-165198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165198-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 am.mirrors.kernel.org (Postfix) with ESMTPS id F32CD1F24197 for ; Wed, 1 May 2024 11:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3B877F481; Wed, 1 May 2024 11:39:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="WHxdslQs" Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (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 CB2FD1758D for ; Wed, 1 May 2024 11:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.108.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714563575; cv=none; b=RrP3iH5xZfmv5empCrN5lVH0xsFMntwhcypHgrvmhaA7fN6gg//lRucXFLTMWvYAwxoNk2bqU0DNGRIIh3BWpdCVtRaGkxM3270VY5DYFbOkkHyOvtJ5esb/0y8KvjQ2gK+1UgCg8zL6twX9kdv3fJs7Iff6lm09cVY5zvtro9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714563575; c=relaxed/simple; bh=zE/LWOEqu0Tmhm93sSwUBTn6WQCXkZ817g4M5ORksZo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gYDh5JjQYSa1V1t0Xxc0vr1B8toLK/0kshN8lIJddA23iCOkpnPZbGgsco3hCCnTsmGlZA9iI1SegnlK3R3jJu/6nu9URQD/5dOB4kwyE5I7d/AnIkSOTLmqP/GUnygD681k7JaedVmvpGLs0r5LB32Or+hSTY995dPU5reV2Qs= 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=WHxdslQs; arc=none smtp.client-ip=64.147.108.70 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-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id AA2B43F5FF; Wed, 1 May 2024 07:39:32 -0400 (EDT) (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=zE/LWOEqu0Tmhm93sSwUBTn6WQCXkZ817g4M5OR ksZo=; b=WHxdslQsY8l/Lq5q56oazY5/EmLvajKZol2o2DoXricwjpSlwMyYncM NzQFZY/KtLqJZ+PPfvsKmsB0FoQiBCWbvFkDs4Er7KfCcKR/1xUDxrazEkE7aeMn Fbq4T14OK9ywNv9YLLDtaYAvs8CtAbluwA1fO79taienIEG3VDes= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A1CB73F5FE; Wed, 1 May 2024 07:39:32 -0400 (EDT) (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-smtp1.pobox.com (Postfix) with ESMTPSA id DDB603F5FD; Wed, 1 May 2024 07:39:26 -0400 (EDT) (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 A1D3DC00E9; Wed, 1 May 2024 04:39:25 -0700 (PDT) Date: Wed, 1 May 2024 04:39:23 -0700 From: Adam Goldman To: Takashi Sakamoto Cc: linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firewire: ohci: mask bus reset interrupts between ISR and bottom half Message-ID: References: <20240325005828.GB21329@workstation.local> <20240401121800.GA220025@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: <20240401121800.GA220025@workstation.local> X-Pobox-Relay-ID: 7704730A-07AF-11EF-A046-78DCEB2EC81B-07713566!pb-smtp1.pobox.com Hi Takashi, On Mon, Apr 01, 2024 at 09:18:00PM +0900, Takashi Sakamoto wrote: > I sent an additional patch[1] to handle the bus-reset event at the first > time. I'd like you to review and test it as well, especially under your > environment in which 1394:1995 and 1394a phys exist. > > [1] https://lore.kernel.org/lkml/20240401121200.220013-1-o-takashi@sakamocchi.jp/ I'm sorry for another very late reply. Now that we eliminated the IRQ storm, it makes sense to always enable the bus-reset interrupt at startup. I tested your patch with various devices, with a FW800 repeater, with a FW400 hub, without a hub, etc. Everything works OK. However, I only tested with XIO2213B OHCI. -- Adam