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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5000AC7EE32 for ; Thu, 2 Mar 2023 01:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbjCBBhA (ORCPT ); Wed, 1 Mar 2023 20:37:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjCBBg6 (ORCPT ); Wed, 1 Mar 2023 20:36:58 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B43C93347A; Wed, 1 Mar 2023 17:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677721016; x=1709257016; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Ieiymo+u4ftU4eBbAcMS4HN7w7wxh+e2uXkqxRpeWGo=; b=lVyWmGZKQbvWNjhPX4FzCb14sCic23O9OmbQyvIPdqpzEDWfSa05kIoF M+b0yX47zfMoOzKLrYtfgi4UGBV/TnDe9n2wf8hR9oDzAALU/hbUm3e9J Srt7140Odieq/npGLOQzskEqa5HFDGSbt7GRE/s+pHv09SmN+ebZaxfvQ hJIrrNBffyxJZhfL8f/b+zH7n+02ZbB+//R9zb4lRiKpI3NAdkJ9hMihj jdGrbf/R1fA6Vm0FaCh1C4KeMXQWZtAFKb7ja+WaegBEoH26eY2gYr1A3 dotrRl6DXn+PPVKU1/usHUmyKxQO2J4zqkiV1mv8i4y6e/pIeV7+GLvYy Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="322855183" X-IronPort-AV: E=Sophos;i="5.98,226,1673942400"; d="scan'208";a="322855183" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 17:36:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="676992376" X-IronPort-AV: E=Sophos;i="5.98,226,1673942400"; d="scan'208";a="676992376" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 01 Mar 2023 17:36:55 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 1 Mar 2023 17:36:52 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Wed, 1 Mar 2023 17:36:52 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 1 Mar 2023 17:36:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nFoVzvLGC+1mlvWyaejBPsg3Evdb92IEf1dFconyrCjLpf/VRw8Du4ht1ufH6fudRqLCjhIiM/jc5iXTaZ/Yaglc+xebvHADyNycKSY0Q7oas4ubcCd2tcYm4KChPcEDTQDsrvEnoEdeLSLUWbGVHumzBaPm7gz0IZhyL07XtDcvtVGI1xFFZEGInY16s3IgKsYQjjSICidulimNdS7EwBl6VuFhMwp2biAlVYoVTWkR1GJgC10W+NiFtoIt0DFJPpl6rhYoAwijUZU0ZZpVv7aHoqbQxH4FbATetUQ9qv5jjbNmClHwmJiYmsa3Fw8Nr6as0lMuUqcZFyp0ch22bg== 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=osnIjiijnDcDpB6d3CfiZW7/Q4xAtDY+gu9zgD0S4Dc=; b=UsEp2O/ru39WNwc+R+bYyAuxxboReUnygECFY+XQNumSbSyOGp7BFVJyJAztXImW2pQn9wrl9wFwwMyfxyKrsaRGhBwACUkA1lJaghqgAQkw17CTWeGwi7uWGQZQ7aodrukRrXXzlijmxHV17yasIbD/CLYko2aO0QDRATlJsHALlBYJr0JXjOAKaL9apGCO01hrKx6oJx5am42+LphzNbj6QiSPkKscTCbbhCalJHC03MHRmZkqLbZM+Fur0vYWDVD4xPGxi8zABuvNXWRD1j7zwGN+em6DTLPCqucmOAp5UF7S+I2TQYeOFlGrGVaXU6MdAwYMqUu7iaV6sGOLOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) by PH0PR11MB5641.namprd11.prod.outlook.com (2603:10b6:510:d6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Thu, 2 Mar 2023 01:36:48 +0000 Received: from IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::726b:a43a:2100:7171]) by IA1PR11MB6097.namprd11.prod.outlook.com ([fe80::726b:a43a:2100:7171%9]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 01:36:48 +0000 Message-ID: <8700d72f-a995-8ab5-45a5-cc08e34e57f6@intel.com> Date: Wed, 1 Mar 2023 17:36:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH v4 5/6] iommu/ioasid: Rename INVALID_IOASID Content-Language: en-US To: Jacob Pan , LKML , , Jason Gunthorpe , Lu Baolu , Joerg Roedel , Jean-Philippe Brucker , "Dave Hansen" , Thomas Gleixner , "X86 Kernel" , , "H. Peter Anvin" , Peter Zijlstra , , , , CC: Robin Murphy , Will Deacon , "David Woodhouse" , Raj Ashok , "Tian, Kevin" , Yi Liu , Dave Jiang , Kirill Shutemov References: <20230301235646.2692846-1-jacob.jun.pan@linux.intel.com> <20230301235646.2692846-6-jacob.jun.pan@linux.intel.com> From: Fenghua Yu In-Reply-To: <20230301235646.2692846-6-jacob.jun.pan@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0018.namprd03.prod.outlook.com (2603:10b6:a03:33a::23) To IA1PR11MB6097.namprd11.prod.outlook.com (2603:10b6:208:3d7::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB6097:EE_|PH0PR11MB5641:EE_ X-MS-Office365-Filtering-Correlation-Id: 4008490c-af4b-4efe-4ab9-08db1abe96fb X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FWziLaiARDoYXiXYy8LZ7/FjeHpX3XPBqCfKeo/pRQE9TajL+S7Sq57yoRohrPGdTpLjnsAsDWRXV3z6aCvMMPpu0GwlYMkMjxlFf6imrFVW1AclxpVIjkmF8B76/HEtr+x0iDTyI8AeP/CDl+MdKrtatldkqF8Xz1GgpyxQSAGSQfSwlWPR+qQc/BYA3LOfVcZsqTDyNWo603CcSwgf5e23kAuYiB5TA0MceDMzzOJPrAxMmu33LwlEnS2tn/3qlJ1ZNd0Ob++1yibKzyKyR600sEVp9+zEflnKUJkj4QH8RsK1Tl4q6l3K09HU3rQEt1lVu6uAJ3haT5plrBN11Q3dp/QokD0b4cCiGSjiMre1FDVTuMihU876hxgEhlfRNBQSKpwknJ0CNs9nTTRQ6kf37KsBPXXBiQeBkxNNPPzHB4lgcXIwNf00N5EYVPA0h2yKp2DTOLVPq0dJ90IZ+i8TcXYa9PXmOEpHsr9nMl1Wx/SIMhiKkin8br25HVPkZ7mQrk84yPXoiyHhPaApLOZtG4h+pHkBVUrwDj8YX0lGlp5WqCiIPjEgofPHpl/L9F2qAprwkxfbuhd4gcJ2Gc5xqF/NmdV84vl9/HU39RGozNYm+qMb0KwK9sMXEAilp3gUjLY0u9dRsZbx3Jdo9GXMg1cIh6uS3RbkifMG/JGrXEiAL0j5U2a2jOGxVhPzPqIX6V87iuZX4FzIFMZi5Sdg0VsvBxFIWmP79d+HPgTdJ0qZmQbSQKPphv0Kl+Yc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB6097.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(376002)(366004)(39860400002)(396003)(346002)(451199018)(36756003)(6666004)(53546011)(6486002)(6506007)(6512007)(2616005)(186003)(26005)(316002)(110136005)(54906003)(41300700001)(4326008)(66476007)(66556008)(44832011)(4744005)(2906002)(8676002)(8936002)(5660300002)(478600001)(7416002)(82960400001)(38100700002)(31696002)(86362001)(66946007)(921005)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bHBpdStmY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pOTdRajVDQWg5N3pScElwKzNC?= =?utf-8?B?RUFmdEJySTMwZFc5aXBkN1Zva3FkY1ltTk1ES1FCVXJzS2NQS1A2ck1LcTVB?= =?utf-8?B?ZTJYWWZVRTNaejg0dUVjWjNnRFpoSkEvUGZMOXhmdkhGK2JEZTAwTlRmblI3?= =?utf-8?B?T0RvaUhubjdIZXYrdDd6M0NTenB0SnpLVVhFN3YwS01NbGdDZGlzOE4xOEor?= =?utf-8?B?dS93YXFxU2k1ZndoeXRFby82VFI0QmlHdjNmdmxEQVlDbE9MNEhNS0VNYllB?= =?utf-8?B?N0hOY2s5c2duWm1VWEVTclVIM0dTTTNyN1plVWhidFRXUUVQY2U5V0ZtSjls?= =?utf-8?Q?knyruYgbvNrkRrRrzRoq5zgd4?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4008490c-af4b-4efe-4ab9-08db1abe96fb X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB6097.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 01:36:48.5965 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GAvc0kf1lTQpWyWoIQ6oJQxMlUuRi3sUcOU3WIGahbhunI2/KbdvWKuGHhX8HRx3VXAjp1U4biBH83BDGnJclw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5641 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/1/23 15:56, Jacob Pan wrote: > INVALID_IOASID and IOMMU_PASID_INVALID are duplicated. Rename > INVALID_IOASID and consolidate since we are moving away from IOASID > infrastructure. > > Reviewed-by: Dave Jiang > Reviewed-by: Jason Gunthorpe > Signed-off-by: Jacob Pan Reviewed-by: Fenghua Yu Thanks. -Fenghua