Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3868288rdb; Thu, 14 Sep 2023 05:24:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbUVSpRZF+8V5pN40nSBh8fMI7TqdgjOi0afhzQwBJWp8mKiRnzTZqC+YKJ7c/w0fLdJj4 X-Received: by 2002:a05:6358:41a3:b0:139:b123:ae2 with SMTP id w35-20020a05635841a300b00139b1230ae2mr5555197rwc.22.1694694240456; Thu, 14 Sep 2023 05:24:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1694694240; cv=pass; d=google.com; s=arc-20160816; b=zjIuFmRtnHwFoHJxGpHNHtA2F8crxpFbkmopwM4cXYKuPzSd8adaY0C1Ms/jspuKV6 SbGhKY88ygZg5aNQnynUIfT7CoBVt2jLG9jwcteiHksLhcKwcQCdwobCyYLtm5TyAz6g k+gaf+XMNTgZ783RzVkhVj9tk9zh/aQWKTnHV2InzGJ4ys79USqr8w0DbuPJ119GEcEo vjexL+z+gFmndPMURuQMLgoNUshmlPmNCD3eHmOQscswITTzEbJ6SIiKdDVYKFvKm7Cx ovxyEUOFzbuE0982o4lDjoN0ILbHKl844Uc1LTCHXBGgjjl2Kc7HKFHXsz7LljANtxkP P+AQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vmyydSmDOzkO40VGcWQhq2zqsZnpC+chFnCvKTOJU1w=; fh=dDGY2eke20af/IZGnjynbjJJZsHiXHdwbbk9L32sRTE=; b=D23dmI45hfaHW5vw3c4b4P5rbv9FjOxyv0JXLUJXuhm0lwcHTZHqputJL2ii+jYMNa jKnhopvLomx5NRvshJ73kmGcZ/Cp5qUOORQOBqaoOXIHm8p5kB7LIt1dNPsH9fZUGIpK BPZA9D1BWoqo354it/rn+AK5RkNqTRAzMzcQubbc1mPS9JCDfZCrsX3OKZ5YaG97xl5/ x1Gd2VMJZQ7LbO9xl9lRNDsbLc1HFXQFVSf3FynImS11E8ASGl2of8AT3GVmo8tlV810 PyJG9lOliaqztsxFNdBkXoIVzXyt9RWBY8bP+ADvk5yLc7OTbw2bsNJRfPj5SEg2+7mc 3JKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=NFoy5bZZ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u190-20020a6385c7000000b00565d9520544si1429874pgd.844.2023.09.14.05.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 05:24:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=NFoy5bZZ; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id F06DE82B1E55; Wed, 13 Sep 2023 18:03:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233279AbjINBDN (ORCPT + 99 others); Wed, 13 Sep 2023 21:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbjINBDM (ORCPT ); Wed, 13 Sep 2023 21:03:12 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E20E8170F for ; Wed, 13 Sep 2023 18:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gg5b4OFNo/JfPj6D8FOzYN+xEIq4BykNo9Hki0IEZL6yu7JH2k0QD5gy2kV/37dqx9WoYhFS+A4i0suneTVmEUL6NSXEUN3OSUJ1effdptEAJcrq0ykCLEAP8840cVKtkF9fxl0o7McaapX9guv4mn4tZR8Tda4GuQJvlFxTY7hf+X8ZYrj4vAAZ5e6pVyikvasiAGK+l+ovmR6TqGEJ+rtX8QRRriE8fy+B1czo06kmsVZcDV+fctiTyrSpvr+XzjSDyS+8EcanbruSJU5qCJ1JJ8nWuU3Zhw/f2tc56C7FtEONdUBbTJl+AWivC+cRXmtbILDzpPobwOao8jnezQ== 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=vmyydSmDOzkO40VGcWQhq2zqsZnpC+chFnCvKTOJU1w=; b=JVVTrPGzzEFYdCwnCKc+DjgmZPI3crDAb5IchBZFkuR/LuRV+xkxaPcMeLT6yeiRG7qvB6lleuO/rU1khlti88m86JibNRCOvoAfjaszehi6cpRAeCrFXqMK0AQ3eRPe3bmmu6XJJYiTFU+fLC4EYzm0tUZCAvepWuEL90t5Bdylne36McAUor56OYlJNMrrD0mn9DJHUtHiEMoEW5Hq1NjrheSmvpc11X9ib1bHy/PtPaut04fygpQTFi3VTnh14x55wxlNFtSbGABT1Mn5ycFmiZZ8jem0jp+EQnVweDs8/Ot1EtFRyuGGXTNI9qvuXpXC+Iq3SVelHmWJNVPJzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=google.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=vmyydSmDOzkO40VGcWQhq2zqsZnpC+chFnCvKTOJU1w=; b=NFoy5bZZq03c1rvKLbf/AQ5vNPriTZq8PG1Qr2LEMwChDcUerr8kodsA2c/nUNt2zV4xh/BGb0+97E29TuBmz4iWcQy0GIfaEXNOVCXV+PP69ltQWFc9I/Ypp7GdjUWz7IaXKX8aUs6kNitMW5FMsLP8NMFlRhioEVbJM4XoLvLWKS/Hqlad1frYloju/YWubo7s7Lo3S8Mj6pPT8H9p8dSPHOKQXxN9iCyEimcFgnglmeHbNSU4P5cjUMAaQ+/rSQoTih5nk0zue2X5LNAJE6YxzXKNQpQrqgCXV84RdNqoNhbKykVFOxS1rmrUL3DxV1kHRWjyJNfOW43rYZphfw== Received: from DS7PR03CA0195.namprd03.prod.outlook.com (2603:10b6:5:3b6::20) by SA1PR12MB8118.namprd12.prod.outlook.com (2603:10b6:806:333::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.31; Thu, 14 Sep 2023 01:03:05 +0000 Received: from DS2PEPF00003441.namprd04.prod.outlook.com (2603:10b6:5:3b6:cafe::84) by DS7PR03CA0195.outlook.office365.com (2603:10b6:5:3b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20 via Frontend Transport; Thu, 14 Sep 2023 01:03:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS2PEPF00003441.mail.protection.outlook.com (10.167.17.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20 via Frontend Transport; Thu, 14 Sep 2023 01:03:05 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 13 Sep 2023 18:02:53 -0700 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 13 Sep 2023 18:02:52 -0700 Received: from Asurada-Nvidia (10.127.8.14) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41 via Frontend Transport; Wed, 13 Sep 2023 18:02:52 -0700 Date: Wed, 13 Sep 2023 18:02:50 -0700 From: Nicolin Chen To: Aahil Awatramani , CC: , , , , , , , , , Subject: Re: [PATCH v1] iommu/arm-smmu-v3: Allow default substream bypass with a pasid support Message-ID: References: <20230627033326.5236-1-nicolinc@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003441:EE_|SA1PR12MB8118:EE_ X-MS-Office365-Filtering-Correlation-Id: e086fb46-d322-46b6-4266-08dbb4be5a5c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3DuOTFO1BY3RPbv4bVz0vGLUvLn7yubNvkk7DfZNIPnBFJMulGsteJqOgz8Xz9tRnqooJme4jtUUGnLwrMLsQ/hfrPL/gx1FJQF/6zQbIFDh55sICsvz8QK/DF5iqpun+7dYHlrErbgIA3hqsPDWzWv+HDIF1NnIYQq/nSo0/iaurA2HMgMCTVKV0rJZXSdXHVOBZaDPygBm6BCvB0AqVO0JinfIDXtQ92cSnqYUza2EFpCoe14QfNZSNpgj7oW2ye4GH7yXZzl1gGRLWSRFAvM1uEgjUifYUzwp+H/LxV3yU1W5R8SuTfSCfhsTpjATpCy/L0ufetcu17RcCrIuCXut7eq0I7Lp++x40SLqbJbeNpzT/SbW4/ZOSAM7MPtIESigYmQTF1XTaVyR2lI8gf+lAVzzDKNdFvJwnJaN5vfd5ZijBiTwafr7ZKmGyF+73ak3Yyvyhlygf7mEjaZWB8j59WWRr4RQZ/xP2OVNqqRWwIYITmAfzMuI6j+bpWp26XhJ3YvBu8tGoOlZqiXPWIOngWf2UtoRuYpQUA36Ha3S6QSORLN/TBZ1qNIAe4WtXSoebWQ/J2xedMqeU6u09uPa7eWkgK6iBEVge+eJakDcs38Ita2dleppoUTLqZEmACH5vwtFzkv8LlBqMwkmafyim8ijeZ6y/K6z3IE6jU5N2PfrmpnfXiPDbjJsvmNrMGryOc/19lUhG2fehjMsN1OBig7hpDLXDSovfzClosjDljBIxDPMIN1zRUHPQG7C3E0S+/bwPFhWP45CC+Mex3bST12zenKS6g94JhMCzow= X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(376002)(396003)(136003)(451199024)(186009)(82310400011)(1800799009)(36840700001)(40470700004)(46966006)(356005)(966005)(9686003)(478600001)(336012)(4744005)(426003)(2906002)(26005)(33716001)(7416002)(41300700001)(70206006)(8676002)(5660300002)(8936002)(4326008)(54906003)(70586007)(40480700001)(40460700003)(36860700001)(82740400003)(47076005)(86362001)(55016003)(110136005)(316002)(7636003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 01:03:05.4588 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e086fb46-d322-46b6-4266-08dbb4be5a5c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003441.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8118 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 13 Sep 2023 18:03:14 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email On Tue, Sep 12, 2023 at 03:13:25PM -0700, Aahil Awatramani wrote: > > We have a use-case for this patch to help in avoiding the map/unmap > overhead in some cases but still maintaining support for PASIDs. This has another version [1] rebased on top of Michael's refactor series [2]. We'd need Michael to respin the refactor sereis and I will resend mine. [1] https://lore.kernel.org/linux-iommu/cover.1692959239.git.nicolinc@nvidia.com/ [2] https://lore.kernel.org/linux-iommu/ZPEpl9D%2FCqQWYhzk@Asurada-Nvidia/ Thanks Nicolin