Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4578594pxj; Tue, 8 Jun 2021 18:36:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtebCBZU1g7BQPw4xjWmKCmqPAIHBhjoMu7qvugKr3f94T0T8XANif4qv121PEYdq3JuMq X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr29285615edr.150.1623202586644; Tue, 08 Jun 2021 18:36:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623202586; cv=pass; d=google.com; s=arc-20160816; b=0Kb1hsMjcFubljHb1Qk7HBeBWmxV+8xCaMFRa9A8ZNrrU5obVFaJ7vxrqlrpbi8FJU z4a42JzurLV1L9S05ZGEPAA91eKY6jbnR/5wRs3XoxA5aWb9BkJAbUYv2P/KCJCsOusk 8NKvuYtUYTGPHSYUB4omvy/9kWtAA6gZ6uRtCrqfGRwVK3TMW2++o9qtBfQcMc9M9r/g gXNHRf/S4L/yO9W8scTyz/N3uofN2Me0oD+vlFrrwxS8dTG6fLKgVCA0lPTDfByxrE39 qGKZwcKFFLJP+XKnSR+TL2Y2U4d9cT5OWD63rrgQIUrTtJtiUyAa53K+Fon1xcxJlgB+ 0j5g== 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=MJiqr7J8AsHQGGVLWyn6aVi87/Dx5C0jrzp5YrP42lc=; b=Wfr7k+S+cZOnAbtNlb9CXU4ClenpwvpdZE6N9WryFsz/sZs2TX7VLpLme6gSQN9PYt ngNIEP7LDnUZXIDELii99K77ceZWqnejIiTLRZ759Nk4WMIqrSkvYeXoBTncmsMmvz9k Ogr+WOHkqgEZCgbyYeFfbmQb0Rtynf8zRFBtB42lrzhyU5taEd/lO+q5O9NWIbtAL+0v QojXJYNiBjyASz66uFiM+rGGnuslOj/krwnE+xKjj5vfmqsbcSZOEsZJIfRqQtw+yQwq AFihjSS3gA70YCZiwdxuR36jH6M5QPkc+qTBTbGif3+ZTngKaFTxgOOu9Ld+ZUZFyRz+ 50kw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=CZLMqSvb; 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 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si1107705edr.225.2021.06.08.18.35.36; Tue, 08 Jun 2021 18:36:26 -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; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=CZLMqSvb; 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 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232900AbhFHNWf (ORCPT + 99 others); Tue, 8 Jun 2021 09:22:35 -0400 Received: from mail-bn7nam10on2058.outbound.protection.outlook.com ([40.107.92.58]:57569 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232635AbhFHNWe (ORCPT ); Tue, 8 Jun 2021 09:22:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B4NEKArqP0IxfYtfPa5f5yz362LLMa0eyjYdSKZyYQl3y71FmKmI7MdgzpaZs1PGD6xZqXRR4pIyqYkxGprovm/2Vlc/3phYV9nqKQC76ffMX8A/1dS1sDQ2YdDpbejmOekMx+U8RuZjV9tGq0XDkDkkx0hzU2PcLm2cXOaLoIJpnj2F29GhGUzWzufPXf7PQXH+SZibTubIOyNcyvFp7ttuo+en01EQMHRByyRuNcnS/9VwhCemmih4J7S67TSPI6u0SuTsWp28IcrtyqmGgpPIx8Em+L96WU2JFeY+NVh5fyNauboCspKXo+QtID0MoQd3Nw99VKHB+sFTCt614Q== 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-SenderADCheck; bh=MJiqr7J8AsHQGGVLWyn6aVi87/Dx5C0jrzp5YrP42lc=; b=RPG4KxSI54kvseIKUbd/dM6AjAqkmJsTgz+N3p5eGms7kkN/tbzI5dmsJ0XwUF6LXQyQ7W0kDNvXLvYPB+U0c2IboKCV+EMRGMRYxIzaQuOYUEEfzY0D6/KppeYXmYXXoemC14byswZKOQhu4PUoSYwknQPjo6aT4a7Zo0Kzuo8TNdET4+AwHzZqE1cAYvrHQ8q8cAZedOowFLshr7d5uS5aICx3nGtI0OXX0JQ1yyj9eueT1ucnX+Rt7wyt1N1VZiT68CimVt3KggKlNTDnG2aaYK9GTuaW+NNOVTPRA5ofb/ApESbruT0n6Vpkd05YD0Cc80kcZ7XUv1I68BFskQ== 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=MJiqr7J8AsHQGGVLWyn6aVi87/Dx5C0jrzp5YrP42lc=; b=CZLMqSvbXtqCBUaEZ/AApCSu5QQrgYM+uVjFxHCVKrwIchh3b/cKAlt1kUASOC8IdqWz+6moLRBIKxhStVqJ7Hip6niZkYb0Wz+qIN+Z29GercFxPF0TTpiUige/vDeE2oz19MF/mB/cBIDTXofZjvTO7CrL0gEGzPsBlJAEpK5QqB9en8lz3bcwxbDdm7OzOtEkm8COJ0Mic6HsAYDQSYHte8GvT9wh7jSaLntxSr1MNr7Bo3V/0ODvGmXq/t3FhbwIIfHoefDCJM3GQgwCHHBIZ8eqzxJgcdvtpCCIwzKm9AYnWy8YbI6usq5YrPqmOgUAx9HmB9glsg6U0v8bGQ== Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=nvidia.com; Received: from BL0PR12MB5506.namprd12.prod.outlook.com (2603:10b6:208:1cb::22) by BL1PR12MB5077.namprd12.prod.outlook.com (2603:10b6:208:310::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.24; Tue, 8 Jun 2021 13:20:40 +0000 Received: from BL0PR12MB5506.namprd12.prod.outlook.com ([fe80::3d51:a3b9:8611:684e]) by BL0PR12MB5506.namprd12.prod.outlook.com ([fe80::3d51:a3b9:8611:684e%7]) with mapi id 15.20.4219.021; Tue, 8 Jun 2021 13:20:40 +0000 Date: Tue, 8 Jun 2021 10:20:39 -0300 From: Jason Gunthorpe To: Jason Wang Cc: "Tian, Kevin" , Lu Baolu , Liu Yi L , "kvm@vger.kernel.org" , Jonathan Corbet , "iommu@lists.linux-foundation.org" , LKML , "Alex Williamson (alex.williamson@redhat.com)\"\"" , David Woodhouse Subject: Re: [RFC] /dev/ioasid uAPI proposal Message-ID: <20210608132039.GG1002214@nvidia.com> References: <64898584-a482-e6ac-fd71-23549368c508@linux.intel.com> <429d9c2f-3597-eb29-7764-fad3ec9a934f@redhat.com> <05d7f790-870d-5551-1ced-86926a0aa1a6@redhat.com> <42a71462-1abc-0404-156c-60a7ee1ad333@redhat.com> <20210601173138.GM1002214@nvidia.com> <20210602172154.GC1002214@nvidia.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Originating-IP: [47.55.113.94] X-ClientProxiedBy: BL0PR05CA0028.namprd05.prod.outlook.com (2603:10b6:208:91::38) To BL0PR12MB5506.namprd12.prod.outlook.com (2603:10b6:208:1cb::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mlx.ziepe.ca (47.55.113.94) by BL0PR05CA0028.namprd05.prod.outlook.com (2603:10b6:208:91::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.10 via Frontend Transport; Tue, 8 Jun 2021 13:20:40 +0000 Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lqbep-003qg6-Ag; Tue, 08 Jun 2021 10:20:39 -0300 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79b90f55-5e0b-4e80-e14a-08d92a80362b X-MS-TrafficTypeDiagnostic: BL1PR12MB5077: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dVWHTFKXwrzGEGk6J9sl/Ei6+5r7Qy5Oe6SWvjVgc4Xwo9Jx6oFViL+eSUG49cXgaYSgjBOBiTwcBMB5Ng4pidk0jsvzqBB/2iyBfOxxrZe27dki6/xZkEbAjgcLIen1uL8E+eFvRgtbVPM4KXyIxkNPnSRI72E6Nd2rJtCUIkNa4SC6MAzBBrSrU3dFUZ2pdEh7NnIowDP+Lb7h1VaKF+XNX5RTBkL46SrVaodpIWxYnxYTu/4qS6hbVawNQ0Z2XpIGCtkdqp43iIG3SHa0Jy5Zov6UsAkMvOn+OHq8VThKkFShSK2OXhlBP+q0oFlJnz/5kfXjV+BYNtFnjeb2cNoZ/YhH9nfrPGRQLEomAC29/rHRFdnLKrO82evn1yexPx1edDfldDZvkmUhGBfWb7uxmypOydIu/VINqekdG+zNl7W5J3CvxFYpJQw+vnDjSPzOW05w3tLleBJlk/DBSnSO9jmUpYaVUB9jIav51QwBljn9dYXOQo0TB1Q1gXo0Ea2N9iPW5kXmudKwrLp2lc0RVBgTlKXmwRrydEffx43Bdbi5nrWSKk5MyHg7fmfbQxg/BOFzKevPXUNhRbQqPmGEW306chEcRAMMmb5lSLc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR12MB5506.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(346002)(376002)(39860400002)(396003)(366004)(5660300002)(316002)(4326008)(558084003)(6916009)(54906003)(2906002)(86362001)(7416002)(26005)(186003)(8676002)(426003)(33656002)(36756003)(1076003)(2616005)(38100700002)(478600001)(8936002)(66946007)(66476007)(66556008)(9786002)(9746002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XhB1kka6aub9Xy5tQRG7/RZdKGhnJ3A2IfvUBnOu5VA0XOIq+LO+xTAPR12U?= =?us-ascii?Q?RTisZ0Mhw3JBcHQECVR9bbtnrRGGzH7Wm6eAI4qvoUiCYdv0HL1vaAH5rgqM?= =?us-ascii?Q?2/wjdSD+rbzMOSg0bnSk+bXXm/2E8GHNznjp1QshrXZU1SKMK5l0Ayx8T5pQ?= =?us-ascii?Q?9corHaYd2ZdS9kSIH7EXFdPDba89FxMS8o7c7/geNf/XlIAUI5ggBIkuyM3b?= =?us-ascii?Q?dXXXCpzJHv/te7e2jJ0rAixUopwYK4Ls5OwF0aHcOKcUmBC5EJyKH+jTa3bz?= =?us-ascii?Q?zgIQvTy61NtVLdeSeIo7l8QgjxcBnLyqKewFShHB2FRYU3V1Yux4VZ01CXPQ?= =?us-ascii?Q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xzhd+Kn1a8OAR9fAD//q3q?= =?us-ascii?Q?BYtiwO2jXfNC6VZvP5RtmtHwpm6XZAuOAtLYrjZaGJ4//COc3FX+ldcEg18G?= =?us-ascii?Q?BwrpRMhyorp6knZ1NjsBWf5t?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79b90f55-5e0b-4e80-e14a-08d92a80362b X-MS-Exchange-CrossTenant-AuthSource: BL0PR12MB5506.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2021 13:20:40.3926 (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: qtcPwdBMKgyd93fjn8Isp+5ZrqlsH6izMbZuNHZd4Wp9e2fgjB3M8DOUGhI/Irnm X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5077 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 08, 2021 at 09:10:42AM +0800, Jason Wang wrote: > Well, this sounds like a re-invention of io_uring which has already worked > for multifds. How so? io_uring is about sending work to the kernel, not getting structued events back? It is more like one of the perf rings Jason