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 D255CC30653 for ; Mon, 1 Jul 2024 13:49:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cSHA3q4477yqFVwlHVRNBlCXfb85cUCdbiSbrNOhrjA=; b=NBACPmwnnKRD6PAzeXwEVz92Yq 2oSjeM6eDPBzoQRo/A1gep78ZOmzK6tPwg8zNip4nnMqh2VUwN5l2695uCTbakl9afI24o3qlQpz4 gHqlwoqhxlgsF+4h2BF7Dzznl7tnv7jraobaSCwVerdDLLyy5GU3CxNR6Y4YywP+DhncouMXzrG5r 5EfNGgYlZfaEEt+tCqv/jtDVusM6JrR5uGfy2ZuuOUamV1WO6WxQoskB1DU1xy406eVDV0BBlcmJl x3HqEXcIjEoyX42lkcV/3LU02scEiR6nvYSnJU0CSYsY+tUC+pc+wUpLmeUFAB7G1Nf+uVe4Y+n46 6lv8qUwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOHPX-00000003Ypo-0mcN; Mon, 01 Jul 2024 13:49:39 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOHPL-00000003YmT-3B4p for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 13:49:29 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-42565cdf99cso27400505e9.3 for ; Mon, 01 Jul 2024 06:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719841766; x=1720446566; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cSHA3q4477yqFVwlHVRNBlCXfb85cUCdbiSbrNOhrjA=; b=je6UH91sumkrwN8FhcYqJ0UeoZKIN91rrde9GO9mBzKaQarBVok/cKlNAoImuDI1kI e6QFf8oWn3gCFmrTMeRyfra1TV/cGvucRJDk4gxXkFccE1/st/3uEo3ct0fVMYYgtX2+ 8QB3egwsz4XKh0CNwsEGUCcLUPOAZVRyCifpIjpJZDuVlMuXaH5p2U4dcw2+o/85APgW LtT0qL51POCjtW5NgoE7CiLKPKnW+0bw0o8qS9TUppSHMyi9ybhJn33tpu7Yr7JZsMul erz4QOYkmMsoI8mGcoKntEf4TZWkvjXH4AcvsewNtoyblEO1pR2cfuBpsb8BftPQGRxl AMWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719841766; x=1720446566; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cSHA3q4477yqFVwlHVRNBlCXfb85cUCdbiSbrNOhrjA=; b=KoUv3KyUtNczE4O7oE75tRy0nYF6cDH3RsRhxQU6BQd0eTHHHxeXD/CP648/NK+ftz g/01SK3l+5xYIPGIh6mlZnjaAYYHXVP5jI6U8ZZd/HLXJWiBLTtn/v+rxn1bgDZmRjl+ O3qXxnn6iLnYNVx/K8fYRLbU1sjKX9CYgNJ3BSuOAspHJ4FVAnT32P0oSP2UZJBxkNx7 whKlrs0pbTrI0gG8yil4tEtRT3Mx/AmeIfC0PUEWH7fAWc2FwG1vviUyJV+J/GQXcooB Lv4BqwfWnUsd22CEnn9Ygu5Kcro5BwyfWJrQNW6f2I7ucW4kttJKjMDQBrfIwYp++vzG 9MPw== X-Forwarded-Encrypted: i=1; AJvYcCUPlFHkKRgBm1MLDq0lt1L15/7lVfaGCakexx++HOF1Mh8h7ikv37rQQty8PpMs/CvdP9NnFj9Teh+lWi8zxEMRqABMIVdaGpFLkUjaTdGcyIdjOXc= X-Gm-Message-State: AOJu0Ywa7gwa8FwjfDAqOVMXMwGCZkhjVs2kwpwfu59FbLqnAJGy1OwP 1HKpkXzyWiscXJkNhti6Iet/8V2PnSk89nAAPUlarfZvkkyEftKf6kARHRk8MHr+jhnHtotZLmh z X-Google-Smtp-Source: AGHT+IEpUblqE9v0NeLJXlJ5ozpWe9TPxae1ZcK0gTo7GHEOOUFGF+Khzv2YHvZ8TnyhE/LhRgJFOA== X-Received: by 2002:a05:600c:47c7:b0:425:5f73:e2e1 with SMTP id 5b1f17b1804b1-4257a00c088mr49663315e9.22.1719841766025; Mon, 01 Jul 2024 06:49:26 -0700 (PDT) Received: from myrica ([2.221.137.100]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4257fc934b2sm58300515e9.44.2024.07.01.06.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 06:49:25 -0700 (PDT) Date: Mon, 1 Jul 2024 14:49:42 +0100 From: Jean-Philippe Brucker To: Robin Murphy Cc: Will Deacon , Joerg Roedel , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, Rob Herring , Saravana Kannan , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , Andy Shevchenko Subject: Re: [PATCH v2 0/4] iommu: Remove iommu_fwspec ops Message-ID: <20240701134942.GC2414@myrica> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_064927_825835_1131C95B X-CRM114-Status: GOOD ( 13.78 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 21, 2024 at 07:46:35PM +0100, Robin Murphy wrote: > v1: https://lore.kernel.org/linux-iommu/cover.1713523251.git.robin.murphy@arm.com > > Hi all, > > Here's v2 of this little cleanup, with acks and the additional cosmetic > tweak suggested by Andy. There were some slightly non-trivial changes in > the rebase so I've left off Jean-Philippe's tested-by from v1, but I've > given it a quick spin on arm64 ACPI and DT and all seems well still. virtio-iommu arm64/x86 DT/ACPI still work as well Tested-by: Jean-Philippe Brucker > > Thanks, > Robin. > > > Robin Murphy (4): > iommu: Resolve fwspec ops automatically > ACPI: Retire acpi_iommu_fwspec_ops() > OF: Simplify of_iommu_configure() > iommu: Remove iommu_fwspec ops > > drivers/acpi/arm64/iort.c | 19 +++------- > drivers/acpi/scan.c | 36 +++++-------------- > drivers/acpi/viot.c | 11 ++---- > drivers/iommu/arm/arm-smmu/arm-smmu.c | 3 +- > drivers/iommu/iommu-priv.h | 7 ++++ > drivers/iommu/iommu.c | 20 +++++------ > drivers/iommu/mtk_iommu_v1.c | 2 +- > drivers/iommu/of_iommu.c | 50 ++++++++++----------------- > drivers/iommu/tegra-smmu.c | 2 +- > drivers/of/device.c | 30 ++++++---------- > include/acpi/acpi_bus.h | 3 +- > include/linux/iommu.h | 15 ++------ > 12 files changed, 65 insertions(+), 133 deletions(-) > > -- > 2.39.2.101.g768bb238c484.dirty >