Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1036627lqo; Thu, 9 May 2024 02:52:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmzT6N5WuVjfcjoEMjrhBlffYASxtuTMBFrF747XSVe4UHsQY7ZAmrHyqYa+gWy1PwtB+GNrVIJKY0HG02sw5lTPZNvfjiK+JuQXdYXQ== X-Google-Smtp-Source: AGHT+IEw6N5Np3BIWe84l1Jf7rCDoogEhxQ6y6dJW+dVrRQRa+9jQ40gDebF18D+5oPFafuEGCrV X-Received: by 2002:ac2:4204:0:b0:51b:528e:ce7d with SMTP id 2adb3069b0e04-5217c76080dmr4172926e87.34.1715248374982; Thu, 09 May 2024 02:52:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715248374; cv=pass; d=google.com; s=arc-20160816; b=1C2oEVBSdjV9NRymsJvCFb2IcXayDimQi8ATorBGFfjrxHWtN6TVu9U3GwaWX6AY5j 0snJVQoWdnzdARfUERRPLLmJd0pK3kzvUKfv/O41xmupmA1q16VgrAtxMHm0r6e8JRT1 5SUrhBsxBMrzbxv5APfPQ5pPRz1hCmf2zlME4IJhjayY0jd2f7bgHhZV/4XTMvcJI4qu UsrsLIZaVdxe4AqtNeuHocg3mjP+KFJ/eq3cJzQOjLGCsuvnH40jZ4Z1Lgx9vWqcogkR IBgT7Lgy2k5c80c2aazSNXxTz7JUpIgxEU2wsculjluCsYxpEWl3kqph0ekDEvoFVMsT J2iA== 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=DKnNxWZ8QTqsi54wCJjIap/qZVVF73g4UU462mtxz60=; fh=DzS2nzmlvRaYWhuKIsOYmJQ4SiLYf86Ew9EFlL7KIkw=; b=0ldQv/dt6afLIRmN8jRGTjvnLe+J+1j7igWkc/Ok7EsxL06TxbYcD5l/V3DfOUOIb/ y+vXMM6GiMDt872K1yIQhKyRokGT2Qm3LeJx3MB9Hl3y1mCcpw+OJEjB8b5Uhtv/dbb3 SHZSuujpUhT7/jqikgrDDnqIYxrI+xPrqAHnLNb9/921/wkd9vFqfVr7k6K6z9Ec64VY edJg1iRoy+eo06IOvceyhwNeNogMWqYZpvcbvKWuhA2tkklPIlroER18vpsdzQOj7MmW pEuwFb8ldMGUWa+olLjYR3WpAp6mBQipdXuEWOApyj+i1m1pikMow3VYjtD0xstwPi+F Q7mQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OPMfW6Ts; 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-174375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6af3si61485466b.769.2024.05.09.02.52.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 02:52:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OPMfW6Ts; 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-174375-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174375-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7F33E1F2386A for ; Thu, 9 May 2024 09:52:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0868B14AD1E; Thu, 9 May 2024 09:52:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OPMfW6Ts" 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 9DB6F14A603 for ; Thu, 9 May 2024 09:52:44 +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=1715248366; cv=none; b=Q5G92VqW8hmlNozJQi5SzYWhUWZrYQWdVYtqFrC7gfTltgJNZdxBouIHMHHjI2nDvj7oySojc71zSIKhre7BZ/pNaMP9ozVLUzAUOAQwa9ptSNWOw5GRxK7FcLcpMjjy3XXJkzdyKNQVKRQehC65N870LL/2PciIvMOyMMJppXs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715248366; c=relaxed/simple; bh=DKnNxWZ8QTqsi54wCJjIap/qZVVF73g4UU462mtxz60=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=TD5VlXxq9dXPhFfbHy1tAHp4/zpwfRW0lxeOtTp2p6PQrHsclItmKPJ45MBu3mbSXH45NFBSIWsUL1dYErZiIMs6AugQBa16tdGHe78JEJcORi+6bnpwl1UFYTg4m2E0jNfAHIHmwKgP6Q0SwHKFX7bcuIlUFseZKjObNaehSAY= 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=OPMfW6Ts; 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=1715248363; 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=DKnNxWZ8QTqsi54wCJjIap/qZVVF73g4UU462mtxz60=; b=OPMfW6Tsq+Xi0pDKATcGOWdrgTtt2UaHjezMEuV5APDIrvKlkopYQWPBKcq3xXE4irmDl+ G/+MVlkRhXRl1sbNF33UqY4IzgNaXaq/EmtAUOzW08N/DQ9S/taLM4VIvK9H0oxu1LK5mZ rTlOaANk4s3n7pXQcGiTD6GBGD4sbf4= 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-263-0suP2VpwNA689JH2X-WgRQ-1; Thu, 09 May 2024 05:52:42 -0400 X-MC-Unique: 0suP2VpwNA689JH2X-WgRQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-34d7ce41d7bso101504f8f.1 for ; Thu, 09 May 2024 02:52:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715248361; x=1715853161; 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=DKnNxWZ8QTqsi54wCJjIap/qZVVF73g4UU462mtxz60=; b=UWUhvd0Xa7WZRWws7WEDFMrHQJNAea3EyrOZQKzIlgeD4Y330Meyv86m5vrj8KuyPs zN6wamFp0QelaUL2R6GbasNXGU4IX++Kx1vhC3p7kBDM/wjDciilhBX5CIIwtYa6Myzy 9cwU3rzGRwHpr63X0sSwF1FWRlVeUWdgNIG2sGuJA4ZhA0HGv/P+9LapTQs0JoGLr+XH 1DB0gj1yjoz8uGN+tqRu5i5/N+yoHTz6lrT2ytQot1t47jFv0s8zUaZcjOOTraAOr7uh 6OApLSw4hFP2a9VSjFcry1SjzAD5GsW7MmWW/FYRQAGhRZkWJbZOze0IfN4felh5H9VC KfEg== X-Forwarded-Encrypted: i=1; AJvYcCVrN8DDxofwy/7b2Wc2hR68l6tefGt9mvSBmlTArL0BBmYQ7r4T7VI3mt9F0neTy/C3vQftv2pVO0luarcy1Ian4ntgiiuJ6rvfTXUS X-Gm-Message-State: AOJu0YzGc5+qrJ5rfZmr8KG4c1SeQT3r4tl9zxhvCpzF3Hjh3EHwBZ4E BYBydq/caH/5gbIgzwsBJoav9O9IVbVKWM9rTRlc6IHof5ep8b9sQQPajhjNQldunG3Ufy1XRWl gbHOHONIleFf2vbGLzvHLdtbn+1ypIkb0Vp/2SdgBACaJby7RquMOmV+fzOkH9Q== X-Received: by 2002:a7b:cc16:0:b0:41f:9c43:574f with SMTP id 5b1f17b1804b1-41f9c4359bdmr25243655e9.3.1715248361054; Thu, 09 May 2024 02:52:41 -0700 (PDT) X-Received: by 2002:a7b:cc16:0:b0:41f:9c43:574f with SMTP id 5b1f17b1804b1-41f9c4359bdmr25243545e9.3.1715248360647; Thu, 09 May 2024 02:52:40 -0700 (PDT) Received: from gerbillo.redhat.com ([2a0d:3344:1b68:1b10:ff61:41fd:2ae4:da3a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41f9ffe26acsm30355035e9.1.2024.05.09.02.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 02:52:40 -0700 (PDT) Message-ID: <417acf11e2757cc0a4a6480f75e4320c7bbde839.camel@redhat.com> Subject: Re: [PATCH v2 net 1/2] net: dsa: mv88e6xxx: add phylink_get_caps for the mv88e6320/21 family From: Paolo Abeni To: Steffen =?ISO-8859-1?Q?B=E4tz?= Cc: Andrew Lunn , Fabio Estevam , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Russell King , "Russell King (Oracle)" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 09 May 2024 11:52:38 +0200 In-Reply-To: <20240508072944.54880-2-steffen@innosonix.de> References: <20240508072944.54880-1-steffen@innosonix.de> <20240508072944.54880-2-steffen@innosonix.de> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ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AhQq8d3hB/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-05-08 at 09:29 +0200, Steffen B=C3=A4tz wrote: > As of commit de5c9bf40c45 ("net: phylink: require supported_interfaces to > be filled") > Marvell 88e6320/21 switches fail to be probed: >=20 > ... > mv88e6085 30be0000.ethernet-1:00: phylink: error: empty supported_interfa= ces > error creating PHYLINK: -22 > ... >=20 > The problem stems from the use of mv88e6185_phylink_get_caps() to get > the device capabilities.=20 > Since there are serdes only ports 0/1 included, create a new dedicated= =20 > phylink_get_caps for the 6320 and 6321 to properly support their=20 > set of capabilities. >=20 > Fixes: de5c9bf40c45 ("net: phylink: require supported_interfaces to be fi= lled") >=20 > Signed-off-by: Steffen B=C3=A4tz > Reviewed-by: Andrew Lunn > Reviewed-by: Fabio Estevam >=20 > Changes since v1: > - Removed unused variables. > - Collected Reviewed-by tags from Andrew and Fabio The changelog should come after a '---' separator, so it will not be included into the commit message, and you must avoid the empty line after the fixes tag. I made the above changes while applying the patch, but this is really an exception, please take care for the next submissions. Cheers, Paolo