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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1110BC2B9F7 for ; Wed, 26 May 2021 12:20:34 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CE67761057 for ; Wed, 26 May 2021 12:20:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE67761057 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PSIGvrfZV3HBk7q8wQsPrI3iF44c19Ua6ndWRbauQ2Y=; b=2xbj1TXRu64nev 3+ycjvvMzqYiQfB17jIuJQvFOahf+u+zj4z0udggW/IIBnmD7/L5CibkY8zFvLMhCsYPM3LdddcC0 yo/f0KA9TKN1OC0azpvowhi0MAeK10/U0s+sZhBO7xG0W/TwXMa00pJ5UhpCvEKQX24O2J8wtQ/fr Q3cUW5YHbgyeFfMCZb3nXbRuKYW8J5wXr3nt9IsymrRXrgD6uZdmVAlz330AM+fd+2kf4Sed8m8mB OFbvuTlWqQy5UkSWZTtdRUS5ByOwgOCUtU6WTPFWLZJjc5or+n/fIDFD6kL4fZey9j2/gc+W8GASP dO+G2ICaFrPVB9LGhdFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llsUP-00Du7j-W8; Wed, 26 May 2021 12:18:23 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1llqPn-00D50m-G7 for linux-arm-kernel@lists.infradead.org; Wed, 26 May 2021 10:05:32 +0000 Received: by mail-ed1-x52d.google.com with SMTP id t15so634702edr.11 for ; Wed, 26 May 2021 03:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wN1QhgZSLh/Q1cWPqcMwfOkLFO+D9Okqk24H5LLAjws=; b=nPXeq6WiNxgg6lSxeUnm2xUIASnDhmktguH8A6hssAjEktOyNSvFrXb7nk9Jwtb+NO yFRlCwYbpgu1I3XfvONpplYhusGl1LZzYH8skxO3FMlur4Ub99+Y+fFTNkOsTrN5w38z OVf9eYTP/FPPU3gd8SPWnmbwhEmLy2lOF0pC3GW4VrVUrahiv7yYM6zET6w7Z3my6L0S cHNhcGsinerK+PASVPV7OHMOudUBIlgvybDpP7ziWJzNizZCFYD1ZSZ3if2EX1bSR+BK ZxzluxhQR+3Vc6n46FiKg0ibO/Yga0tgQunYLwLIIwStAZJn5nD7INiwGK+RxyPP0Qb4 pUgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wN1QhgZSLh/Q1cWPqcMwfOkLFO+D9Okqk24H5LLAjws=; b=d19dEKjKjeahLNnM1C7LFTNAkhTCRQBxQqdBc7AxPfGNHP7i3vteMR6Mk15LWCr7UO wRxP2wkBoA/Mdc4V/0z/gMlQjQAqkHcpncQwoSIiiaZKiYFd16DWvOH3NqdejW9DUuRK 3SNq5kCQ3jX9t/L1R6rbyYg0t66Ss1XLQhj+X2zpfEm2pMSGneq5Pr9QzTiRwnEh853T GZEaisRAHSASJNIg57AiO/c7nLqD/mf33CuDSDfWDN4IOID7xaFcOsKYLGha8slE/rcD fhDn3Co/dWgjQLNHvBBUNJ8ZXSO5+3MeghkDxtMB3Xz2blc15bAzqd1Vq+75gZ/wyDFP tGgQ== X-Gm-Message-State: AOAM532WcoosjMSGNxlVSo9GpR9YskHepX4Og7TQHT8KX19+BcXl17nL GmcM2QOnyeRttQiQYLm5w1sV/g== X-Google-Smtp-Source: ABdhPJwLqgT0dI13/qQ6yT3UWt2a30pzQv780qX8pFwjZ6m2oIQpbMs47aFTz509ycnSHGVFoSWOMw== X-Received: by 2002:a50:bf0f:: with SMTP id f15mr34885274edk.205.1622023525169; Wed, 26 May 2021 03:05:25 -0700 (PDT) Received: from myrica (adsl-84-226-106-126.adslplus.ch. [84.226.106.126]) by smtp.gmail.com with ESMTPSA id k22sm10054730ejz.108.2021.05.26.03.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 03:05:24 -0700 (PDT) Date: Wed, 26 May 2021 12:05:06 +0200 From: Jean-Philippe Brucker To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Len Brown , Joerg Roedel , "Michael S. Tsirkin" , Will Deacon , Catalin Marinas , Lu Baolu , David Woodhouse , ACPI Devel Maling List , "open list:AMD IOMMU (AMD-VI)" , virtualization@lists.linux-foundation.org, Linux ARM , Eric Auger , sebastien.boeuf@intel.com, Robin Murphy , kevin.tian@intel.com, Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla Subject: Re: [PATCH v2 2/6] ACPI: Move IOMMU setup code out of IORT Message-ID: References: <20210423113836.3974972-1-jean-philippe@linaro.org> <20210423113836.3974972-3-jean-philippe@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_030527_589477_0A591EE5 X-CRM114-Status: GOOD ( 13.43 ) 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 On Fri, May 21, 2021 at 06:42:09PM +0200, Rafael J. Wysocki wrote: > On Fri, Apr 23, 2021 at 1:57 PM Jean-Philippe Brucker > wrote: > > > > Some of the IOMMU setup code in IORT is fairly generic and can be reused > > by VIOT. Extract it from IORT. > > Except that iort_iommu_configure_id() is not really generic AFAICS. I'll clarify the commit message: the parts of iort_iommu_configure_id() that set up the IOMMU infrastructure can be extracted and reused by VIOT. The rest of the function, that iterates over the IORT subtables, is specific to the driver. Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel