From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10FD1A0548; Thu, 2 Dec 2021 13:56:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AC1540692; Thu, 2 Dec 2021 13:56:52 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id D641B4067B for ; Thu, 2 Dec 2021 13:56:50 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10185"; a="216717413" X-IronPort-AV: E=Sophos;i="5.87,282,1631602800"; d="scan'208";a="216717413" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2021 04:56:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,282,1631602800"; d="scan'208";a="602708381" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga002.fm.intel.com with ESMTP; 02 Dec 2021 04:56:49 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 2 Dec 2021 04:56:49 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 2 Dec 2021 04:56:49 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 2 Dec 2021 04:56:49 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 2 Dec 2021 04:56:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MvO6SBea7ZBdgNzdl6svi923WZIjKSPm8DhgF1+M4JQpYuvMUwMyfL0xyZkMvOVNJ3/cCub3GQXyTtwpE6aB7u4rIMzNN/M9rRNBBcuq7vfH0ypQ22A1Xd8sk3J2EEsFcwFOVCBUwUmOFICy/SITWwB53ac/l4Qu4coqHbbfiGVGHubs0uBGtFCqKEl6vJAFKi8CNOuLf5wZsKmlVzGSY5J8EgyfjowgaQOab19+BXCheryO8FscvLnU854N2OfD0iUprouYvQianxPrudGe5aBhlr8VI3tHw5gmh6pVrHgr5F2xaFC5kKhIFc14yHLVCvk4Nw/32WXLNr1AxTz9vw== 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=92lfjS3dWh/4FbMGaV/5wRk/6FRKKSODvuoA0XDcNCY=; b=eYELHIP5iIzRF/ndNUSqP0mnqs1yLo0uPl5Eq10VyL52yCjrQuq/n+X76YoRYs9XbnDyOjSw4KWJeOxyaqqCSjW3eA3ppu1gTDl6twVs76o3rc1O3fa2HKd+FCS5Lzrmy7xENNG8cGBcbV4twwlYVBw9h+zJQfUmm+w4+7/bmsXIXm5JMQbeW++KdypDzhhu+PbKTepPnwo3H0CHZHeMQ0JqHzb9pfXT0AFMlefRb5FKX6OzLNA0VJfZAsggpIOhraC4WztnHp58UJD9eXCQg8Gz1iz9P+AuSTcf1aYIe8KZgqtcGK5pL3lQ52YyomU1lcso5LyqLUpOoqq4Pbq0jg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=92lfjS3dWh/4FbMGaV/5wRk/6FRKKSODvuoA0XDcNCY=; b=neU+hddTaheVPkEH5TWYTvLYPnQJLhDseSDqFqHnDeRySUphAt1J9q1QezL6Os/OHcRJ2GgsIdmDVuL3yKq1Pc9z8yfPEGQY8Co78g4zjbh3WuEpbG/GC39ftMDlDgDmN5KeZ58KlU99whsbuSwBKWgvZ0gR6jA5WjMYjxY+ngI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) by PH0PR11MB5784.namprd11.prod.outlook.com (2603:10b6:510:129::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.14; Thu, 2 Dec 2021 12:56:45 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::e591:d814:346a:c568]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::e591:d814:346a:c568%6]) with mapi id 15.20.4755.016; Thu, 2 Dec 2021 12:56:44 +0000 Message-ID: Date: Thu, 2 Dec 2021 12:56:39 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v2] dma/idxd: add allow/block list support To: Radu Nicolau , Bruce Richardson CC: References: <20211130095439.784229-1-radu.nicolau@intel.com> <20211202125040.3665-1-radu.nicolau@intel.com> From: Kevin Laatz In-Reply-To: <20211202125040.3665-1-radu.nicolau@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0338.eurprd04.prod.outlook.com (2603:10a6:10:2b4::8) To PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) MIME-Version: 1.0 Received: from [192.168.1.20] (109.78.167.86) by DU2PR04CA0338.eurprd04.prod.outlook.com (2603:10a6:10:2b4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.17 via Frontend Transport; Thu, 2 Dec 2021 12:56:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b91ec923-7a67-4cfe-1d1f-08d9b593318b X-MS-TrafficTypeDiagnostic: PH0PR11MB5784: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R080m9UHiZN92QEBiS/DJiH0YHx9c0JanGClhv5T8BDRbYFTCh1qtmjN5u+DLCaodEY3a8hcRAcFXWD88GElfr3phNczQjgILOs8H9iASvIqyhEXw7gnN2dKTYKqTmzMpzAod+SReKR+BiVYZ2tH6976m4adqXXgWs1da+rGgAd542RUthWj9yED5/pgQSr1bB4qSlI2P0Fv76cAOmscfxwwFMZo+80sldcVM2NsyFbDmbuPh7TnxVJkKIkk2GGfxGlztSKU13iKsTxacH1Bh8QAILcOdM3WWFN1AYAZbwJrRAms/MHgK1nAQPoBDTIzsEc9GbwHtpo1orPAKMYXg1/fwkarNP3Y4uVxNEZu0qyMDLbVEmhLRCjVVpQM/GN/gHbk8PCdKOeo8ltHDTuGceRUwOSZ5+A/YX1H8WsZQP3t2lYOGVPEYQ7ESBp6177BxRY79FVazHLVcg7XWzmRYEvurZPA2SVOfYarnUhLUK0Nw3l/fTOchb4CNfgID3KiJWNFvRq7yI/xCS9OLTSTCeR5qiD94PdCHruRmq+c5OX3Il+oXTL2k4XjyNQfHWn8fh/Ls3qFllzjI4jUHvqzPKXlkTSwY+Iqg4pESYWedGDjC/6H/hEYtZur2JpPtCR6Lb34tfUDHCxycpuSX31fXhGrNnp6hZVK6BlnI6OPcLYNtU+v6cVuxDlzzxj/taG7twvgX9kB2dx6vhECD+eLhiEcLmXLtn3QXqsNQoMgieO2yinMzIQNJIiRSx2zXQyX X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB5863.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(26005)(66476007)(4326008)(186003)(5660300002)(38100700002)(44832011)(66946007)(6636002)(8936002)(508600001)(6666004)(83380400001)(66556008)(31686004)(2616005)(82960400001)(8676002)(2906002)(31696002)(36756003)(316002)(16576012)(956004)(6486002)(86362001)(4744005)(110136005)(53546011)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bElQVmpJYWJYWHlKR2o1UVBaSnRqUWprUlI2amNPUnB5M2VLV0FuY1NCa2tq?= =?utf-8?B?U1ZEVjRjbUh3YTBhU3NzY1FTUVlFemJ5Nk0yTmN5VFVaeUxQMlNaU1EvaE1h?= =?utf-8?B?MnpGbnNKRWtOY2ZlaFJ2OU9BQjhPYStuNmxabW9NN3FLYktYZ1FUMXpXT0FJ?= =?utf-8?B?dWxaYkgxRkVsRHhBc0NSeUtXN09MdjJMSTdkbjZaUyt4QmRYaktCTU53SUxi?= =?utf-8?B?M3Zqdk5SbFhPcFlKbnIrSDVaaEZhcGFrNWNtK3ZxM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ld5cXdJL1o3N21mZUgycDNML2xKNzZSZGpTb1lDZ2xWMVhEVjYz?= =?utf-8?B?eCtXS0Y0U3U2QlJCaW9jTHhqM1pYb0hPSFZZRW8zTnc5K2EvK2ZyVnp1b2VZ?= =?utf-8?Q?5UKVoSWSIlBMwbZNskQ8rvs=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: b91ec923-7a67-4cfe-1d1f-08d9b593318b X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5863.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2021 12:56:44.8468 (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: KBRhNdPBI0JuqbroxHN+q0M8crQgW+xnO6anHOlG5HNvRQPuUmH5wPGzaEt+zpkufm5FGrPkxNXchVr45ralcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5784 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 02/12/2021 12:50, Radu Nicolau wrote: > Add support for allow or block list for devices bound > to the kernel driver. > When used the allow or block list applies as an additional > condition to the name prefix. > > Signed-off-by: Radu Nicolau > Reviewed-by: Bruce Richardson > Acked-by: Bruce Richardson > --- > v2: corrected doc > > doc/guides/dmadevs/idxd.rst | 8 ++++++++ > drivers/dma/idxd/idxd_bus.c | 30 ++++++++++++++++++++++++++---- > 2 files changed, 34 insertions(+), 4 deletions(-) > Acked-by: Kevin Laatz