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 DF45844162 for ; Wed, 5 Jun 2024 19:07:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D61A9409FA; Wed, 5 Jun 2024 19:07:10 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2072.outbound.protection.outlook.com [40.107.102.72]) by mails.dpdk.org (Postfix) with ESMTP id 43A9240265; Wed, 5 Jun 2024 19:07:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XIUCpCGh2jTMQ2IMMvyxYiP91gpa4aYDLGsHDc3/A/IxgCdJW0GKhAlcy+ocMVbTqV3V4i5aKVnI03pzMQL7vcXDn/zQ/RtX0zZIWybhGKKuJ9tEWsPHeOg+N17ahV/tJZvFYxA3B8BXOYlYiPVawOracOBbxS8PrvHBQmAJ+oeF/MTrOfM7erKG41wmmwCyr09T2MylC3czcM7ak2sC6ozn7pAi0hoMO429YhhFzJpHiWNk8QO6jg5Swp9ThfBj6ur1h9n/TDdlhZtBqs5YWUMSsbQNbI/tMpUveDo/psRJ2GAeG97QQnzIRF9+YU810zMUaVGH3R5OTWmuL5APuA== 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=oCUiks6SvHXH0Aok9bMPjqnViPeljEonBvECGgwOKbw=; b=EZh8QhjORM82gxAPTMsD27v/PZqZ3iSTsv15noYO5STWhDeOpmp6l0Er8iINFnu2k09l/2QyMOtLJLhOlUuiGTekFwuo2ve8l4ApyzCULFgFAWU1cWyznRcTlhsM9HvRpKn01dTVVHTAaM9kNcmE6cnU5kE0B5mrYvouyhgi3fhYQHOU3H1yCA+w04b7fFjzeRb+K5+PfJw7IueYCIKc/QwYZ6fkffHLU66NSAUBa0U5X0Gi9STRVcr0L17LWqd/dWxqrm446gPSv7zcJKOBMG+muMN0ydhAWTqVvNUHF2pFI1Oa4cNhreIdBlkM4gu3J5a2H7HIEtTOH/WDxhxwdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oCUiks6SvHXH0Aok9bMPjqnViPeljEonBvECGgwOKbw=; b=FtIR7tZ+8uUQZHfsfjj4w/VLVpDu/26zdFYGjPslG9JAtdBsoXmKsavebLqG1rvLGAt8ktEXdxxVMvrVyCY616ip0wM+gyApLfYbGpJbzFMO8inPVviHI1xSLJ5lQxVQdWk3Ke8l3f/QSXO2CI+Ir4bbP2kzfAP6aDn7fyZOf3w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS0PR12MB7584.namprd12.prod.outlook.com (2603:10b6:8:13b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Wed, 5 Jun 2024 17:07:06 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%5]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 17:07:06 +0000 Message-ID: Date: Wed, 5 Jun 2024 18:07:01 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 01/25] net/axgbe: fix mdio access for non-zero ports and CL45 PHYs To: Venkat Kumar Ande , dev@dpdk.org Cc: Selwin.Sebastian@amd.com, stable@dpdk.org References: <20240507124305.2318-1-VenkatKumar.Ande@amd.com> <20240604121157.3052-1-venkatkumar.ande@amd.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQ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S5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240604121157.3052-1-venkatkumar.ande@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO6P123CA0024.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:313::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB7584:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c4cac2a-5580-4dd4-b2a8-08dc8581ed17 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZWcvNXNGOVZkT1g2dm9EQTlsYkpiQXFxcGNDUHdRRkZld2FaUjh4cGRROFB1?= =?utf-8?B?czVGSk1SWVJ0cXVCTkNVSmozUmhzSGJ2MmtLMk42QVJpczVQN01EOCtPOXlE?= =?utf-8?B?R2pjUUxUSitlTmhNUXY2UEFBaTBRRGpURndxYlVueXE4ek5JN3FBV2lxMTBN?= =?utf-8?B?bk5kN1ZEVVNQZXJHZGxIU3R3TUR5M3l6Y003SDRUVVRIRXl3di9aLzdpeFRO?= =?utf-8?B?TjdkMkc4SXl5SlA4b21OZTJrNXlHN3hsdzNGdkRXNUZxcFpLY1R4SXUvNUtD?= =?utf-8?B?VFBzZ01TMnRtbW5CUlFtNGtXK0M5TW1TNjZKdml0UDNZbVVRZEFmMjBsNVJu?= =?utf-8?B?eHRobVVGa0o0MStTUTVTQ2VXRE5LYnh2TmlVWTl1ZG9WdnVnVHhQNEpPZFFQ?= =?utf-8?B?QVFkdFJqaDVITGF4YjF1Z0pzRnZPTFJvYVBFVGxIN1Jra2l1THlIMGYxN21K?= =?utf-8?B?NklqM3JmblNiYUNyb041VHJNS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SkdyVkxPZ2tUZ2pPNW9mcEVQcDAySDlrQlZBMWNPTTIzZ0JCMmVO?= =?utf-8?B?WGR2WWg3Z1hWMmJxZGVWQVQxanNpb2NLbzVyRlpsQkJITy92Z0xmc0dDMTFO?= =?utf-8?B?Q29hb05LU1ZDZkhGY3Z0d0ZBd09ndlc5VkFFSnBROU40NFJHZWQyUEZvSnV4?= =?utf-8?B?bEdMWjd1c1ZzajR3cXVmaWM1Zmg0SnlTWUhRNG5RMjRWYkJpRHE1K0tpVCsw?= =?utf-8?B?U2g2TjBJdjhWOUtrbHUzckM2OWh2RlZ2OEhHQ2dsUTJmS3FrNFExeUgrQ29H?= =?utf-8?B?Q1I1UzRWRHhiSkJkZVZubmIwSzRueGFtOStGaWI3ODZJbW9SYWJlbEV3PT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RkZqaUI3cE1yVkJMSzBzb3FOelVacEEvL1pJd2J1Qlc5N0hvT3JZUUc0QW1j?= =?utf-8?B?bWUxbnhvZnZGaHBFUlNaZUpSZGxnYk9uT1I1RzB4QmVBdkZOYk8rK0lJc1pR?= =?utf-8?B?S0daWVcxSjBJYUxla3VXMW1zeDk3UFVMY0Vud0daMXZWVHlQQ3VGMnJjQytC?= =?utf-8?B?TDQ0SjA0SCs2UEZ0QWZUK0RBRXJnZmhrMW5xK0VuZW1mMncyUjkrdlp6ZzlB?= =?utf-8?B?WUR2SXZ6YjdjUFVLbzNQU3gxUjNlWWpRSnU4QkNGQ0RSeFQyd1QvQ0JVaWZr?= =?utf-8?B?ZFJ4c0xFbVozaDJMVHIva0FYRnJiNWtmUWgvblBydE1hN1ZRREFD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TC?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c4cac2a-5580-4dd4-b2a8-08dc8581ed17 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 17:07:06.0596 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S0+dJ6VRa2+wKHGBP8xkDzq//IeO291HQQ/62PKy2tEbr7wACqDM5LsK6Y1BWPgX X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7584 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 6/4/2024 1:11 PM, Venkat Kumar Ande wrote: > From: Venkat Kumar Ande > > The XGBE supports performing MDIO operations using an MDIO command > request. The driver mistakenly uses the mdio port address as the > MDIO command request device address instead of the MDIO command > request port address. Additionally, the driver does not properly check > for and create a clause 45 MDIO command > > Without the fix PHY device is not detected and can't be usable. > > Check the supplied MDIO register to determine if the request is a clause > 45 operation (MII_ADDR_C45). For a clause 45 operation, extract device > address and register number from the supplied MDIO register and use them > to set the MDIO command request device address and register number fields. > For a clause 22 operation, the MDIO request device address is set to zero > and the MDIO command request register number is set to the supplied MDIO > register. In either case, the supplied MDIO port address is used as the > MDIO command request port address. > > Fixes: 4ac7516b8b39 ("net/axgbe: add phy init and related APIs") > Cc: stable@dpdk.org > Signed-off-by: Venkat Kumar Ande > Acked-by: Selwin Sebastian > Series applied to dpdk-next-net/main, thanks.