From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A658A1C68C for ; Wed, 8 Nov 2023 18:35:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="y3+ikr9C" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4094301d505so53584325e9.2 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.linux.dev; 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=y3+ikr9C+1QMKlVldYkJY/tw2DW5hQPUo/6NC9KHw/73/NQxQAVMGDbGWVsuiYkKre ZgiLTtPppg3Mk7m36oMvuMFO06S6BmgA4DKcvA3iZq++ad51uZ0lbK8afVXKu8spBGuI gSoTznHX5QmVhd5Q9ChRLFPr5sBpZn9yxUg1lxYG/AxrAYjW1HdoNRvtNH+WlbJwkrhg gg5a1r0ceVHUAVzPTPu3PzU3L1kfwHDB2ikOCdv3CRGdu76LOHAIsD801U3X0dbpam6N 2yPFvb2Oui0As2lTew4SOVvTe2DadAQJqh6V9RuyXopRwPjUG0zwISsT6LxmGRCApseW 5htA== 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=w0cGDv5WLM+Fk9Mx0XV0+dfPE2ueUJOWMjhSXLGZOqlRNKllzPRVEoVue7yyZdOjnr KA/z0Hw1xUUzC80Nex1HVN5E0i0W4w8S6HrDcR8wKa4pkR6d8X++ELzVpOb9yQOTRba4 PexP16y+nRwvbmUNYQp715sOHx+xFCkBuAogGyYjoonHEdOxJ+QvMEfD/zm5YDG8WB/o 5l8A1046HXPsMOsHe0i8IDEEa9HepmJJ0kY2Dow52yYLt7be2jkPVFHMV7ymG99BI3fX Bdz5kOCWBVCHopP6y10vDsfhSCcwIZKjcfkHDSU/dmqHGJGF1ytfDyEjP5M/brVZPm1c hs5Q== X-Gm-Message-State: AOJu0Yyntzaw62W0b9LXIpKkh4o6r9AeURSJxeDd1bGCQ8Br7uhbpoK5 dJXSFLrJhdgwKJtl+ND9S+KLXA== 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> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1-1 Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 >=20 > I haven't been able to test this on any HW that touches these paths, so i= f > 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 complicat= ed 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'