Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1506375imi; Sat, 23 Jul 2022 07:45:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v7adHskA4zv+VhO4TWZK9/MJe21ROXOi9AWXVcLApmwhvaqvl29bZ4lcOboHzdWydGBxYh X-Received: by 2002:a05:6402:3708:b0:433:2d3b:ed5 with SMTP id ek8-20020a056402370800b004332d3b0ed5mr4685993edb.246.1658587549478; Sat, 23 Jul 2022 07:45:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658587549; cv=pass; d=google.com; s=arc-20160816; b=fF7tyghmSiiz8FOgJL3FvqJineNmVEj9QilmVTG+W8kzJyKLzLF8fIDSRNBKGGzb7k wWDtdWBFCMpTUZQWM8wVoI/iEvxvHmccFBifsSBnaOt/Njzo9FKdH/SrhWu2H3zjR4mR peOQSNPwDwfEYkIwWyCS9XSxiK8omna3zSd1Qrq46Y+yD6dQsziYzftFAY07/bg7Dl2n /JY3Hh9IHkHIurkgEu8sym/ZVUWpxZIX9XPE1E2Kfh7PG38zSbQ0buyZxJtNOBjIsGUg Ikg30bxc6jkKBDapYNfLP/Rli0D6OZ9BqkiT1JRDZrSAyCv365A3t8SzQFjYk4utYzK1 hpPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mbiUy1Vjg5TVT2xPMgV235O5/WJuOxGYU49Oz4h9GZI=; b=06sHLqCui8j0cEqIPEeZFDrDTvhVd4PQMjz0gYzQLwYA/zxlTLNO/aXeo+CaUNvQ+N WbPS5708LrPK4CRWeAmLiKShs5m6IPWq/AedSCHDPuVjY5wa3D9wUnoBWGdpg5/p1Mqt 1cRYVgj+pUPfsYEOWc6tv7R460jGu+JJOcKDT36oThZylgtvT1fd1YI/g2dM/TmC0bzc B04/2qTX2tzkY+ka/PqXtc7RYRIIVvh7+HvEASNuMRR7qCxDWM45R5txruFFTw5yIqm7 mageY8hcEWjrUeA5++BrK4pUoRH5idfE5rD4VHC09AqI/cRZmiN2oHSAOfMSB8s5CTak 8TAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=BO9GHzqs; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id os26-20020a170906af7a00b0072a8a36c34esi3579560ejb.358.2022.07.23.07.45.25; Sat, 23 Jul 2022 07:45:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=BO9GHzqs; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238208AbiGWOfG (ORCPT + 99 others); Sat, 23 Jul 2022 10:35:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238229AbiGWOfE (ORCPT ); Sat, 23 Jul 2022 10:35:04 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2055.outbound.protection.outlook.com [40.107.220.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAC1BA19F for ; Sat, 23 Jul 2022 07:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jf1+2KXEgo1bhms+MFd89bBzqbra8pOZpncfEACx6C9++bgh53KkQsi8nWhT9wkg0BaWgw5Ob2OBXSVVB0++BgKDxGA21Kc5Byf0z7Zzl2mfJKLdBQVk5MgESEKFl1+J+OSOHuIkx0oobR34FtHL5KPv3Ni/GKBjS0hdjGEl1N8HohGJWjcAVkKxDSkJi7GH99jArMFBj1MPcIbVbC9tBG1Jb7tTCHugT9IV0ZN+ORP0ZqTkrpILT7aDPnT6aFXqTN3wypTfYgo2t2eH7ip4I1+WYszQKXpn3zOm67rQALwMuBRz6GtgRwoNKmt3nR3FiuprsqFrsALYsb2Mm6Bq6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mbiUy1Vjg5TVT2xPMgV235O5/WJuOxGYU49Oz4h9GZI=; b=kU+PSnAiqAYXnPJWllRkSe+iC2sZmSG/VjyaU/FuNIHpo+ugDdFtpDRuMvI0v0B6V3pZ4r1Ngh42vuzadDNlmOGfWckpX5f/YuNEDLrrvqlF6MXgYRJnagb5HA2yZnAKYPfAm6xB7W3kSyLcUDA2Hf89pihmR6J1SgTnxv8kUH95JZvZiRQZunFG5oRIATyaiPd6JYcslhIlSs+BhbdbHRhwLweZ+3HAlEvnOQB5pZzicVi1glbusFThYXlSQVm2+u3tRl5kJp4cQbVV4cP0eVJ8X/REodcKGvjKlavRHqE/borxivm0pR9Ou4cK0AuKd62VFAgRjmd+pDdL8edmlw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mbiUy1Vjg5TVT2xPMgV235O5/WJuOxGYU49Oz4h9GZI=; b=BO9GHzqsjqIZenLiNm8Tan9SQqar6meNQFQsfsKEyOk5ROHPOtqv5XpyxoE1OibDtaolLlcXY7oYgGcTSugYoPGISgCHrYKLumi8MThcssv+TK06O3bKgi33aPMFZmQ1G2P9yVbjIkz8jTExRM1f0l8HhKd5mGMUv6fDSmLXj41p7+sUBoY85H0spAC2AbhNkP55o4kKQqrObtq/Mysxf6NtPS4+9zju2AzrVOcWr5vkGU11DhGbQ6UVp85n2gJGx0M1WgC1ybO1fueXqEoETct4SPxhjjaLG5RgR0BBkxBgKB41CWSphj2nhHZ6wbMG+mnYZabC/OtbHMSlseirow== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4192.namprd12.prod.outlook.com (2603:10b6:208:1d5::15) by CH2PR12MB4199.namprd12.prod.outlook.com (2603:10b6:610:a7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.19; Sat, 23 Jul 2022 14:35:01 +0000 Received: from MN2PR12MB4192.namprd12.prod.outlook.com ([fe80::ac35:7c4b:3282:abfb]) by MN2PR12MB4192.namprd12.prod.outlook.com ([fe80::ac35:7c4b:3282:abfb%3]) with mapi id 15.20.5458.021; Sat, 23 Jul 2022 14:35:01 +0000 Date: Sat, 23 Jul 2022 11:34:59 -0300 From: Jason Gunthorpe To: Lu Baolu Cc: Joerg Roedel , Christoph Hellwig , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Dave Jiang , Vinod Koul , Eric Auger , Liu Yi L , Jacob jun Pan , Zhangfei Gao , Zhu Tony , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Jean-Philippe Brucker Subject: Re: [PATCH v10 12/12] iommu: Rename iommu-sva-lib.{c,h} Message-ID: <20220723143459.GL79279@nvidia.com> References: <20220705050710.2887204-1-baolu.lu@linux.intel.com> <20220705050710.2887204-13-baolu.lu@linux.intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220705050710.2887204-13-baolu.lu@linux.intel.com> X-ClientProxiedBy: MW2PR16CA0033.namprd16.prod.outlook.com (2603:10b6:907::46) To MN2PR12MB4192.namprd12.prod.outlook.com (2603:10b6:208:1d5::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63b65fb8-e7cb-442f-e69d-08da6cb886b3 X-MS-TrafficTypeDiagnostic: CH2PR12MB4199:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0wtDCZ0WPZmNVFG3w9GhiK7eGCmxl+V5w6dstlDL+9EEeaZXaGWTZVEpruWvShdbRpRZ/aO0NOwJWUMfsrizDP5bL+uf9jqPKvPCanst8P3FZDFlC9oGRoOJm469P41RJenFBGcnSHtfr+d2JRHu9zUzy0oG8ijgnTxdM028Nre5Y2vFRGoKSCMvvK5XnaWj5kUiYQs+DTvGO4SHGCfZPrSlCOT5xobGCPxf+qh9oVCTwXM4rwvx2UVTeqJkQXbDckTklMyRpSuf63Bxb0Q2Xb9BFYuEVFPangoIruNw9j4lEtapXBf02WnjsgPrgpG7UybnzAWkaLORyjiVtb/jd+T/KF6Yfw/UdFb43MQGxy3Fc21wUlQ/Ht/Pl70nXjWOJ2huLv/vtx3TxGKR6tr8r6B62E7l4AVmecbu5NnwOOlwE2B6hzw57xRoEAqbM3KkRdmhj8yIcWVz0p/6QQiq8uwdWU5CSvnXVANo45epn8TGOBK+x/qXIfxmyyY/WUWwoSwyOrCXF0KKjb29WRuiOb82dvIodPzCeOyTEUHzrotp4JiCTRJLXDlfZVWMziTunor43lGT9TeEOR/OGI++Zfxeik0avH7eYt1SjcO9EFlhu7B/BI0xogKwBvYX1EQzjqSpyrnXrAsZtUWIjGo0nmEddusWnfzi0sw3nDTo662Mlaa2WvUXgTxJgmhGnQNqWxlC4goAIERYYDXeyqJHA8KjJWJ15HWnmO65bDsUD8A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4192.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(136003)(376002)(366004)(396003)(26005)(1076003)(6512007)(2616005)(83380400001)(41300700001)(6506007)(2906002)(38100700002)(54906003)(6916009)(36756003)(7416002)(478600001)(186003)(5660300002)(6486002)(8676002)(66556008)(316002)(66946007)(4326008)(86362001)(66476007)(33656002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?E0E3E85E047c+lE0vk3yCHBGnWj27L+Dg+JgjFg7NYVLvuPeA/WVBsjjNbfZ?= =?us-ascii?Q?UwAPBn96vPdtjjAB348lwyiiIAbhYXscTC6PebgIj2KJCWYBtIdHGwF8VOgk?= =?us-ascii?Q?frz40XOTQoNaGzWptIP1ep0WvKc6oH+hHxnFdZuf/NdtzcPi7iKS2/zdiDwU?= =?us-ascii?Q?kryZHSRZd+2LExYiRTeRSSz6jkd57nbzHsTDcD75J/K6c6wX9PQDUy6xjNwH?= =?us-ascii?Q?ZeGm3lcb4n1nx+fVn8pVJBO1g1HH91wgusyCfZR+V57rCfAzorDoFo+SwiwW?= =?us-ascii?Q?D5EIO7aZgZnuU08JW1it7IkIcnHIJQe/0PjkTNuPJ2ps9SlL4/IukIu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HQ3Rwn9OtM1lxNrwFgZbuJiQClgtX0wV?= =?us-ascii?Q?wLDnlJ1Q9C6cgt+IHFqLxOPSaBDEm8BMbrfCASVWbzi0dejtGMaEBEdeVGLo?= =?us-ascii?Q?2P8N7KtRWH4Czss+nbJ1993I6zY6fhgo3xrW16wIvIeZjiG/mjmoa5GlIZ27?= =?us-ascii?Q?2TtFa2njHJuLBzLULcSBHAWioB6ReoiyBAHqy3fIcKpjCTrSZp+GxMl5OAU/?= =?us-ascii?Q?MfYQQHS8zoSqUmA5qV4z6g7Y7UOvxiKpuhA6WwO3hdcg53GTH6Oc+DUmvrCJ?= =?us-ascii?Q?7yBMWuRZpXb4U64sxhRDWWTUK2K3lJcXtccdhD3Uzup78GhavmOJscbWMZ+D?= =?us-ascii?Q?j7GRqWaXci0End9/Y3vjVE4ZxoBm4afQJOJ4xM/b?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63b65fb8-e7cb-442f-e69d-08da6cb886b3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4192.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2022 14:35:01.7315 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ovUGwWGnTgRg0WYoLBNDyC3IGNi++LaLNKJBoJ9RuNmE9LXcufYH76Aptdv3KoQL X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4199 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 05, 2022 at 01:07:10PM +0800, Lu Baolu wrote: > Rename iommu-sva-lib.c[h] to iommu-sva.c[h] as it contains all code > for SVA implementation in iommu core. > > Signed-off-by: Lu Baolu > Reviewed-by: Jean-Philippe Brucker > Reviewed-by: Kevin Tian > Tested-by: Zhangfei Gao > Tested-by: Tony Zhu > --- > drivers/iommu/{iommu-sva-lib.h => iommu-sva.h} | 6 +++--- > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 2 +- > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- > drivers/iommu/intel/iommu.c | 2 +- > drivers/iommu/intel/svm.c | 2 +- > drivers/iommu/io-pgfault.c | 2 +- > drivers/iommu/{iommu-sva-lib.c => iommu-sva.c} | 2 +- > drivers/iommu/iommu.c | 2 +- > drivers/iommu/Makefile | 2 +- > 9 files changed, 11 insertions(+), 11 deletions(-) > rename drivers/iommu/{iommu-sva-lib.h => iommu-sva.h} (95%) > rename drivers/iommu/{iommu-sva-lib.c => iommu-sva.c} (99%) Reviewed-by: Jason Gunthorpe Jason