Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp63249lqb; Thu, 14 Mar 2024 05:46:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVy5OzWB/icj2QWeANMZZQ7ejKOA57RyU2l2WAob8Cvw7RdeuNwxAOHN1fqyesQoOKW4CI6Obma1Drv82Ld072oMigVod1zCSG4gw2tgw== X-Google-Smtp-Source: AGHT+IECRMTU/uRljAZ8s7wwjhkR7V7OoegZ7HTjeI48KZB/AP5xO5WYsbUOlgiHV2PMxP9/3z9o X-Received: by 2002:a05:6358:52ca:b0:17c:2168:d4ac with SMTP id z10-20020a05635852ca00b0017c2168d4acmr1893508rwz.25.1710420376964; Thu, 14 Mar 2024 05:46:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710420376; cv=pass; d=google.com; s=arc-20160816; b=Vsp9HXtcHQKxnpajksabZ+MkB2N8e0aNRkhooxX1GF6L4s9YUkW6X8+yAzKEs8BnRA LT6OeHQBu0i2FKBP0Xn9ZdBhmqjnFuA8PI+SCo+9E9+EWt5KpQVZPGjkmQP3KZdg+oKs Kcy78CskZKbs3hYBCXT5flRsWfH02cyGYxy5hm8xYYRhzNt1XEB9O9G/8bJizlCzxDLL cbUNqWejj5XOBvbBIAkEb2NQznSCdYfuItXuDvUCGXtV5nRU4yd1HMhL/Osg5doPbHpW ZQIFJVbGab4za6iAyHUQyPw7pU+gynL+mr5ayxKiufkidSVMxEHUHzNzRplHVhQn5BC2 rECQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=2u/MtyPUOuwJV9gWG4DIkvMCxw0gFRHn9F3Oqc19+1g=; fh=iR4Td2BXzmGOqemmcmdZBg9qmetD2NPhsh6A/ZZr9hA=; b=dpu97d7fRuThzTc76CJwh9ctoKAWrqDGsaNV7SqsJkJtrKC1VBZw22HyXxwFxRBl39 GFyyIVvQJy2IIymfvtF0VGGMiZrU1wbvF2fTeTH/YwRrScSjs1+SE1SbmDYsyGUg+TlT 6+msFYi/MxldXooLyHPTYdlMrc50Eqqj4RxTPExeSUb2Mc3t3bqkE2jzlpSTyAYFxWA5 h9s4BmUSC5zqIdOKWmFNiS242vu48WbtJES+HbJXAmUuEqOjAegtkvF3GKSiDPzpMZ54 ExSIvUCqLjfhS8MPyzEHFL9SICHNGjeppk7bgXSmkQI3Q05W802xquOJuP9Rc1C9sunp OPjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bVPGyPfW; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-103250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bw28-20020a056a02049c00b005dc48253292si555558pgb.268.2024.03.14.05.46.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 05:46:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bVPGyPfW; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-103250-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6C9032840EB for ; Thu, 14 Mar 2024 12:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA05958AB8; Thu, 14 Mar 2024 12:46:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bVPGyPfW" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FE7D50A87 for ; Thu, 14 Mar 2024 12:46:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710420368; cv=none; b=YE2lw1hBz01j3Ui0osHwYyAePFSbS6PGTzUZ0531on5+Br6UUZ8JKvfuxIqV7wt4fsUY6l/eTkIDCe/I7TNxKen1sAOn+IjpFgywqkW/pBQSTxNBMYEyKI1n1gG8sPaWMCNQs6pwhMbN6E0k/8724FV6Gva0ALRemZr7UOe4+do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710420368; c=relaxed/simple; bh=2u/MtyPUOuwJV9gWG4DIkvMCxw0gFRHn9F3Oqc19+1g=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=IfaqEtiHpfPvEiQ0e4kINGJnf0Sr2ns+4BNyiP4Z35idlMHi/qJg/l8/0T4RYNXEuXs84SQ6YMRz4I+WiMhbcCp/xAI5ni8rOqz4TFC5rT1C2unB3O1zmiddYSIW0p4WNlSIJ8SmgrSt1XxdtLejjB3AQ+vL5hKGcmQ+20ddV5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=bVPGyPfW; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710420366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=2u/MtyPUOuwJV9gWG4DIkvMCxw0gFRHn9F3Oqc19+1g=; b=bVPGyPfWk27C+MQ8L7qae0IN3JUhWzzxBqlJgAjnxLqvNOm2SuckbvfGNFjR3zENxmQVbX Ve/MaTMI630rPpZxlyXG3JyHY0Q5RVLINa8F+MAkl6jnhbW+CFfU1/Rv012wpOWmVWEgPG WNaIpyt2x66NZQpJoMxXVEQ8W9xFx+M= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-43-zxL4fu6FOlm8GzY18bVsNA-1; Thu, 14 Mar 2024 08:46:04 -0400 X-MC-Unique: zxL4fu6FOlm8GzY18bVsNA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-33e9dda181cso222973f8f.1 for ; Thu, 14 Mar 2024 05:46:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710420363; x=1711025163; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2u/MtyPUOuwJV9gWG4DIkvMCxw0gFRHn9F3Oqc19+1g=; b=qGCit6XoVB9zIfhxiMbvyi1V2HoIqXlqiXNYQiuDKpwxHvtgG6TH24W/lWqXp20Oyx kYcxPhhWszcxX4mY+9i5BgrgNup3vgIUN53b6ZSOVrceenznA2xg8dlJ/jgUIA4pcWbG c+yF91brVyjlGZq0upk2XCH0bM9N08ZU3U0MUh8YdJIm9LQTLioR75hYGgpJR8vMYY2e StsAyR/NmTamveBHjPVDfW8evouA1+e5JXO7/xETGGDgJ8SjDYdixwBCSS9P2Nfp5WTN zbsRI21bmFVf5BYYC4TmZ4gqizl5Ai9lHgF7gVHPGmSg54a/PWCoYKJCuRr/75H25nbE ImWg== X-Forwarded-Encrypted: i=1; AJvYcCURQqLZeP+7ogvGk/bMbzGeNDxeuwSYqPgjgBD5zDvKPZdUxlYQyYfj+klXdxsZj1BLYXcd0TBleRSk1N60IbJNhPOB3vdvmcxpToKz X-Gm-Message-State: AOJu0Yy3bPYAM7Lt8mCpqcYmCWbNl/Fvxe7EmkAo56XleTVyzj2m3yKw U4Klv9QcUdPZk46m/JddBtw9wJW0po74CfkSBHW1p+RxBBj0X8Sou4WaFMhchpAmkF8PcKlnDFW tUDz8AaIZdH4+AGhrexmeyuQGIgaw9uv55frbx9TdPqeJEZcojhSIOYUlpfL2EQ== X-Received: by 2002:adf:a34d:0:b0:33e:1f2e:bdde with SMTP id d13-20020adfa34d000000b0033e1f2ebddemr1109724wrb.3.1710420363506; Thu, 14 Mar 2024 05:46:03 -0700 (PDT) X-Received: by 2002:adf:a34d:0:b0:33e:1f2e:bdde with SMTP id d13-20020adfa34d000000b0033e1f2ebddemr1109701wrb.3.1710420363143; Thu, 14 Mar 2024 05:46:03 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-230-217.dyn.eolo.it. [146.241.230.217]) by smtp.gmail.com with ESMTPSA id v18-20020adfe4d2000000b0033ec9936909sm687559wrm.39.2024.03.14.05.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 05:46:02 -0700 (PDT) Message-ID: <24a7051fdcd1f156c3704bca39e4b3c41dfc7c4b.camel@redhat.com> Subject: Re: [PATCH] net: txgbe: fix clk_name exceed MAX_DEV_ID limits From: Paolo Abeni To: kuba@kernel.org, Ido Schimmel Cc: Duanqiang Wen , netdev@vger.kernel.org, mengyuanlou@net-swift.com, davem@davemloft.net, edumazet@google.com, maciej.fijalkowski@intel.com, andrew@lunn.ch, wangxiongfeng2@huawei.com, linux-kernel@vger.kernel.org Date: Thu, 14 Mar 2024 13:46:01 +0100 In-Reply-To: <20240313080634.459523-1-duanqiangwen@net-swift.com> References: <20240313080634.459523-1-duanqiangwen@net-swift.com> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoP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COXr5516upH8vVBmqweCIxXSWqPAhQq8d3hB/Ww2A0H0PBTN1REVw8pRLNApEA7C2nX6RW0XmA53PIQvAP0EAakWsqHoKZ5WdpeOcH9iVlUQhRgemQSkhfNaP9LqR1XKujlTuUTpoyT3xwAzkmSxN1nABoutHEO/N87fpIbpbZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-03-13 at 16:06 +0800, Duanqiang Wen wrote: > txgbe register clk which name is i2c_designware.pci_dev_id(), > clk_name will be stored in clk_lookup_alloc. If PCIe bus number > is larger than 0x39, clk_name size will be larger than 20 bytes. > It exceeds clk_lookup_alloc MAX_DEV_ID limits. So the driver > shortened clk_name. >=20 > Fixes: b63f20485e43 ("net: txgbe: Register fixed rate clock") > Signed-off-by: Duanqiang Wen Unrelated to this patch, but more related to the self-test burst this patch landed into: it looks like that since roughly the net-next PR was merged back forwarding debug variant of the vxlan-bridge-1q-ipv6-sh and vxlan-bridge-1d-port-8472-ipv6-sh tests become less stable. IDK if that was due to some glitch in the AWS hosts or what else. Just an head-up. Cheers, Paolo