From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC30FC4332F for ; Wed, 8 Nov 2023 18:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ymGxoW05fwBEvrHxo1VL8lViOpdiQQou22n7MOsVVH0=; b=2u/bLmMTiwaviM nFoPudcHCO/7n5M62o1os8xaU1XufabGhg/JQtfdcNh4hIqAz8c3m4BsW9OPtuabO206j16/ddith Wffs1kCbMwXZ23xl+GZ3Gou0M4Nvjqbpde5PvVEG9EsS+ExjzQ8cuMim0wem5vRY2XhdkPCbOR6gw eCeIV51yZ7T9HJ8fbzrt2VurQQvQKwqwkr8pJURsPLPmdoNgAb2XWkLp/FOUEyMW6cag6LzNhCWPe NGCUj6nsTBu60pMOxxGw2UPADc3a8ZLG5cBf5IeLzNHuh4lqVa52yTuKG3LEG0HSSGPewPlgJucsz TENnwWrIICSNHUyQBmBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0nOR-004VDT-2i; Wed, 08 Nov 2023 18:35:11 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0nON-004VAi-0x for linux-arm-kernel@lists.infradead.org; Wed, 08 Nov 2023 18:35:10 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40790b0a224so53676175e9.0 for ; Wed, 08 Nov 2023 10:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699468502; x=1700073302; darn=lists.infradead.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=n9ZiV2Esj98CTfgH59OBDcgahkXqDMdEC5lhTkmlSa0=; b=W9OJD2GFPpJXak7X05JqU6ulTJvgg30uECqiq2u3vT7bHBJi3ASGI55Pf9F/E4ad3N gSkfkR5AbWOk9UtDDJVh8iAOQAlo1Mr8OqOKG69DIsN68t6C2XJFPXfxs5cMAfmUmEnY 3eLiLMxpbHaj8Oomfp2LRHPdDAeQqNM7GZcyqARdLlngj3bUCAm9J+TVswLVj72XjTEN CuwDLQNNgDRY0OjHZPS7jr95E06DE/SLZGdkM8bwrXwwR9gw/3W9Iv5Yn7GFsxCn44aL WvT+YG20egSrPRTUnuaELLJMfsPz3Rc7qvsGH+nn0b+igBx/USsGCcKLFZg915ZQA/Q5 m8PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699468502; x=1700073302; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n9ZiV2Esj98CTfgH59OBDcgahkXqDMdEC5lhTkmlSa0=; b=TG4cOdkl80PACqbO0VaieDCyBEfZnUN/BwrE0TpuoXtxkuvB2g3MY1dBbNxrX3M5rA WZWWVrywCMyr/2p7sFNyjVYPZ5tjHmPVssiKxCCRHaw7lnUpgJ82a0HF+85aV8rocTYB LH04N3vQDv8Bxcyl84j9QAJCDEc3RJA+KoWex4zjd9d14o7Bn84fS490jL98yXrTmAQs QJ+AXszNKgMtktRttLvPnbQ504BkETt90M2UlPv3ncrcfYbE2v5NGI9dtcAfgSyoBHJS k/bvKhoJDkXY8ZJphjNl01mn4coLmKroimpdy1wk+lJlUmHha9/9iyAaQV8fNKCMthIO 78YA== X-Gm-Message-State: AOJu0YwYk9l0VNvnBtokQI26wm3Bt+Nf42LXDnSH+qwEq/khYBGeioco MmyIVTxfB10wO7EdnPKyDdQxQw== X-Google-Smtp-Source: AGHT+IEerzRoblFu8LqWqAyQVzl32Dow78v7sZDoe2sPpmQgBWRRfSrEcftCpyNmsXV1yimnvtHQ6A== X-Received: by 2002:a05:600c:190e:b0:405:1c19:b747 with SMTP id j14-20020a05600c190e00b004051c19b747mr2262734wmq.15.1699468501866; Wed, 08 Nov 2023 10:35:01 -0800 (PST) Received: from salami.lan ([80.111.64.44]) by smtp.gmail.com with ESMTPSA id g4-20020a05600c310400b004068e09a70bsm20156528wmo.31.2023.11.08.10.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 10:35:00 -0800 (PST) Message-ID: Subject: Re: [PATCH RFC 00/17] Solve iommu probe races around iommu_fwspec From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Jason Gunthorpe Cc: Zhenhua Huang , acpica-devel@lists.linuxfoundation.org, Alyssa Rosenzweig , Albert Ou , asahi@lists.linux.dev, Lu Baolu , Catalin Marinas , Dexuan Cui , devicetree@vger.kernel.org, David Woodhouse , Frank Rowand , Hanjun Guo , Haiyang Zhang , Christoph Hellwig , iommu@lists.linux.dev, Jean-Philippe Brucker , Jonathan Hunter , Joerg Roedel , "K. Y. Srinivasan" , Len Brown , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-snps-arc@lists.infradead.org, linux-tegra@vger.kernel.org, Russell King , Lorenzo Pieralisi , Marek Szyprowski , Hector Martin , Palmer Dabbelt , Paul Walmsley , "Rafael J. Wysocki" , Robert Moore , Rob Herring , Robin Murphy , Sudeep Holla , Suravee Suthikulpanit , Sven Peter , Thierry Reding , Thomas Bogendoerfer , Krishna Reddy , Vineet Gupta , virtualization@lists.linux-foundation.org, Wei Liu , Will Deacon Date: Wed, 08 Nov 2023 18:34:58 +0000 In-Reply-To: <0-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com> References: <0-v1-5f734af130a3+34f-iommu_fwspec_jgg@nvidia.com> User-Agent: Evolution 3.50.1-1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231108_103507_356416_0CF56D79 X-CRM114-Status: GOOD ( 14.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jason, On Fri, 2023-11-03 at 13:44 -0300, Jason Gunthorpe wrote: > This is a more complete solution that the first attempt here: > https://lore.kernel.org/r/1698825902-10685-1-git-send-email-quic_zhenhuah@quicinc.com > > I haven't been able to test this on any HW that touches these paths, so if > some people with HW can help get it in shape it can become non-RFC. Thank you for this series. Please note that we're also observing this issue on 6.1. I think this series is a good candidate for a back port (slightly complicated by the fact that various refactors have happened since). For me, it's working fine so far on master, and I've also done my own back port to 6.1 and am currently testing both. An official back port once finalised could be useful, though :-) Cheers, Andre' _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel