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 34F2DA034C; Tue, 11 Jan 2022 17:54:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 15A5B4273F; Tue, 11 Jan 2022 17:54:59 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id B9A33410F1; Tue, 11 Jan 2022 17:54:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641920097; x=1673456097; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=IBN2LY2zB2UKqijJbluLDVcnAwj3DUJXfPPKCciPmAM=; b=FrmBYDWpnL7T3MaYycQ49pt4nmmzUlLq4d1d2WNkP/XZWcSvbRNFGEOA 2ItiZlF8lwZlqsd4PQko+zoB2VfFpkvvYTRIsJPD+24zRQKFcOqpgww8n GDwXjgRQ54xwv4HPsmHyQNHVAA930s3ORH0ALmSU8mKN31KmauvvgJSqy b4YPrGsFyMdKxXpXpGnjMIQdUqNgAJh+MlTb0aDOaLbD++70v5APTF0IQ QwdPNGsdUHZbYI9iN6d3DN6kO9o1zymjmgKb0iOttu13Qa6+zLZfG0COR kZFw90wL+vcINQQ8kefpxOUbq7QsJyCAZPsFvlrBKjF/4YDw4vo2F39JE g==; X-IronPort-AV: E=McAfee;i="6200,9189,10223"; a="242348213" X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="242348213" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 08:50:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="528809374" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga008.jf.intel.com with ESMTP; 11 Jan 2022 08:50:12 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 11 Jan 2022 08:50:12 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 11 Jan 2022 08:50:12 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 11 Jan 2022 08:50:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M6aqQEnktZPIR9TuwmRWttz+H2Fplmocx+HoKq2WTJfwaj10VuGkV+yAJzYgT9lCwfntAVTwX1WJUwqRqqaJDZDqFxVagJt4B8FZYWWcgQRfE4ooAVBbAHpDDHX/KH5S044Wh2XiIAsEaiVI9fQv84KDM4vytBhZwrgKHV79pPYNmrwrRebf206+qzD3tipAJCeA5C/gw+tAKV1vKqpt+n0af5Ln60UuAAnYniYzU0x21D4mQomEolZMbye5LxlceYCuZodYqKL36ml2amkjByahoZkno775JFYr/E4W9+x1lHA3qt7mOAn7wghCVC7LXc1wXxSmL9VnnEOgsBZq+Q== 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=BOjdgFSAjO7Tb8L1whpGgFcNYDGNbh5LivRGl757GbE=; b=f0Am9uyS9VrdCiuECEDXcOu8pGqR0BKN1XPSCyPeqotVKo7b59Edlexdc2x3QGBC+Iad94kyIFQQJJfQul7UxEyE1rmUG4/PX72zElq9TL3ccYSCCzgbQ1oKA0Tf4GkZf6AIZt6sDcTcOKbTR+fqZwcCbdfJa9J4nAfuUrc6Va45uWIoQzL56kUROHriFcQ2T5art/7CI1de95h2GWDJL65JkZ4YHk18SkU2TGl/kKEQnd6pURb7LMI+KRTwZ4hUir6wx2Gt2TdOSMc98M0IdcLlzs01bC7rup8aUNYe4VkWsT5UwjabeE3CYcF3phjK/HjVsyrMqXz2lPmqyz1G6w== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CO1PR11MB4915.namprd11.prod.outlook.com (2603:10b6:303:93::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Tue, 11 Jan 2022 16:50:10 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::b8a9:e4f7:e037:771b]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::b8a9:e4f7:e037:771b%7]) with mapi id 15.20.4867.012; Tue, 11 Jan 2022 16:50:10 +0000 Message-ID: <7cf1b489-0ee5-f307-0f45-d360a8f7ec9a@intel.com> Date: Tue, 11 Jan 2022 16:50:04 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: [PATCH v2 2/4] dma/idxd: fix paths to driver sysfs directory To: Bruce Richardson , CC: , Radu Nicolau References: <20211220170514.736732-1-bruce.richardson@intel.com> <20220111134105.1007191-1-bruce.richardson@intel.com> <20220111134105.1007191-3-bruce.richardson@intel.com> From: Kevin Laatz In-Reply-To: <20220111134105.1007191-3-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0123.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:192::20) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 600e4f30-4b94-40cc-295c-08d9d5226dc8 X-MS-TrafficTypeDiagnostic: CO1PR11MB4915:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IZQFMD3UWqWBXofp3om1nuwyg+Y8jkWJs6oraHp1YW677rjCyv45JaBtRih6w5uhfXfEIsYfrWKG4zBYqlX5VmeQVJ101sezrMBB7ufZW0J4Xvm2PNGd70+f/gr6duxtWbHMDI1RjZS47gFYICMS2VrI49KjeLiRe1zgKfF8rp5dfmu3zgRiDT6ANQJ4rPjSLjKz/sxi4J/cBc1HjubiSjROE0SvJflkonKttyo+ZlFubRxCTjvZvbZQjum5dCQzKiu2TGMIrJVXL43qXoIWIpHO1wKpaQcZDtuqzLuN0XWL71abW58C5ihMlrZFoztPQScBwMn9P/8gY3/ynTmbu74KJh7U6TGR9FA+c6UqlH9Dz54WHlXru/aSN4vW0AryEazAUz83TItXIyY/2xwoIgjJT7OIO5ftuRNPbN9R4uzCZ5RCT5kinm1iBmYLBIophjIiT8QNJv/KXE4Q9BiQyTkgoeKA1aoA0ZtWABaUnDVUqcutInnCR+ohF4Z8s6OX17IagyjE0hn7TWxo7DHRMyhRvkGSJXNnawErGAStW4U2YXENZtdUXgM937OoQetcxVmK72bd2X/9op6l4oo78Do10qO8Iz4cfBkr4uBbvYpw2KT9quD6q7qH87RFlYovbmylOKP8UsX1QkGx9rWD2LBvROvxx2VTfH98u2zNwfrdrMUGESuhV3JjM8FVzj6/Fn/sb1wxBR0B8xiggXZR90YAvLWr3LDPToYWg3MSIchdeaBU167tUes2oU5o9dFdfvYFdMTzqbg83JmkgaIXChmuVYQ8FRc1IOBTxusGjxVgJs2dWxv86o0PoORJ9nQPYEGcLcsGhA6ot4Y2t7f0+cukm+s9GwgqX5vYQt03PNA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(508600001)(83380400001)(4744005)(38100700002)(66556008)(66476007)(66946007)(107886003)(6512007)(6486002)(966005)(8676002)(6666004)(36756003)(31686004)(82960400001)(186003)(2616005)(44832011)(6506007)(86362001)(2906002)(53546011)(26005)(4326008)(450100002)(31696002)(5660300002)(8936002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VWV2UnNSZE5EWGdPa3BBeXkvWm01REF5ekRQQitoU2FQQS96YUUzaS8yeFJv?= =?utf-8?B?WVZvNkkxSmo2ZmdNQU5KQ1F6UzFjbDhPRGorUFkyOUtpK1ViSG9OQTZUa3Nr?= =?utf-8?B?WVdDeVNaaVlvc1pOUzVQQmhBNXY5aFZKWXBXSndQVlF0TFRadmduTHlLUTJy?= =?utf-8?B?UDdCc2gzU1Nra0VHVGVGVzlSNVNrSFhiRk5weC9nVHdkTnJVSE1rREt2bHFo?= =?utf-8?B?VC9NbnZYbXYvVU9tUE9Tb0s1cGRnZ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AzTUt1aVl3MkZyaFZxaXZmV3NRY2NIMjBOcFc2b29ZUitVdGVhZXRs?= =?utf-8?B?ZWcxYUFqVXBDTEJ2NytTTmFkYW9kaUc0N3dBYjVvOHZ2dFdveUJHY0szRGxN?= =?utf-8?Q?JE6HpA9q7fzA2zhoKDQEV1Y=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 600e4f30-4b94-40cc-295c-08d9d5226dc8 X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2022 16:50:10.0823 (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: 8JvGA1xbq3ejStIERnfg3ztpfgzbPVm4qi0mZ9ZBWZqp91OOc5kL1Vv/a+tNLHuPSYPggjMjKf4o0mRfHNsm5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4915 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 11/01/2022 13:41, Bruce Richardson wrote: > Recent kernel changes[1][2] mean that we cannot guarantee that the paths > in sysfs used for creating/binding a DSA or workqueue instance will be > as given in the utility script, since they are now "compatibility-mode > only". Update script to support both new paths and compatibility ones. > > [1] https://lore.kernel.org/all/162637445139.744545.6008938867943724701.stgit@djiang5-desk3.ch.intel.com/ > [2] https://lore.kernel.org/all/162637468705.744545.4399080971745974435.stgit@djiang5-desk3.ch.intel.com/ > > Fixes: 01863b9d2354 ("raw/ioat: include example configuration script") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- > drivers/dma/idxd/dpdk_idxd_cfg.py | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > Acked-by: Kevin Laatz