Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp202730pxk; Thu, 24 Sep 2020 03:36:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6Ohmb7AzVL2sb0MaO7Krr7UXaJpc5Us0RcLbgVfWSt14HF7H488UwVO/AY5b9Nc6p/ipG X-Received: by 2002:a17:906:2458:: with SMTP id a24mr271119ejb.353.1600943791459; Thu, 24 Sep 2020 03:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600943791; cv=none; d=google.com; s=arc-20160816; b=g3QBaYpPCHBGW7E6QuzocL3G0L+5be89DOo6cx8d+pcL/C4IscY+3H2+R+X0UTzBs3 dwz/aWo8v4DHh/oNSipVt6FRhxdvxWcU8iumB6oaCjd+tIhYOhnejyM6lGzRLrNy/HB9 jaTOyDMITsYTvGmo25Z7e1ZRqEeymRzw/whm7lspLTzMMW3qXiY4zHSpXnKdF3p8IBDQ BKjW1rFB7k9TeiD5vbM3NZv4Txv1d770IwpQYiVhU4N/5HECEaVHRJWwd6+3AIe8hjzh qV95ABFsGMtJJlpxfC7VULshYiUMcbBKOcHV9aY3F0HwQK+OjLwMJci9xyxhodlOxX9v Td1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FS5DWRmDgeT9X7/fAQjk3qD62vUoGEEQu1jQTRkm9kM=; b=tccRYWgyMHs6m+GJVva47NgL7I4/7vEXx4Q38lxX53J7HRfLWkpyXrF6Apx1helHSm Zxv4t1qogx7F8QfDBSicbOA6iGBOdbkRqGLhDxge3aTO9Q8xUUMCfu9nYQTD9gY2Nkmf BlzOwKxFYOO7C+0bhmPi0Ma9OHol7HK+DuoObiIejx9lBytYt9pepN+H6fO27qGbMI0U CLrdIIx1F9pxQ/0p7eLTUQSVc+SwAPYEPOiveBHrHs1YkCBAVBvr3vo6DwqopMKoswX5 KyPO4tSWboAXOdIHQkxYjFt6e5TSXhQ1njBO54QnmJiEVXIHLjwRwFTmnXaSsAOICT7y JUZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bk4si1678365ejb.215.2020.09.24.03.36.07; Thu, 24 Sep 2020 03:36:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727442AbgIXKev (ORCPT + 99 others); Thu, 24 Sep 2020 06:34:51 -0400 Received: from 8bytes.org ([81.169.241.247]:46406 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727431AbgIXKeu (ORCPT ); Thu, 24 Sep 2020 06:34:50 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id C40D5295; Thu, 24 Sep 2020 12:34:49 +0200 (CEST) Date: Thu, 24 Sep 2020 12:34:48 +0200 From: Joerg Roedel To: Suravee Suthikulpanit Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH 00/13] iommu: amd: Add Generic IO Page Table Framework Support Message-ID: <20200924103448.GO27174@8bytes.org> References: <20200923101442.73157-1-suravee.suthikulpanit@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200923101442.73157-1-suravee.suthikulpanit@amd.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suravee, On Wed, Sep 23, 2020 at 10:14:29AM +0000, Suravee Suthikulpanit wrote: > The framework allows callable implementation of IO page table. > This allows AMD IOMMU driver to switch between different types > of AMD IOMMU page tables (e.g. v1 vs. v2). Is there a reason you created your own framework, there is already an io-pgtable framework for ARM, maybe that can be reused? Regards, Joerg