Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp161350lqo; Thu, 16 May 2024 02:28:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVl3EOzhCEyNzYPUpzgweCvjhM4AvzNSlFAMRJDcox+V1qaEafUnzxr97pMY8H0iRGN4SAnBB8RVk8pcg8SApOypbFoPWJhT+8wCENQKQ== X-Google-Smtp-Source: AGHT+IFx0pA6gXba41G2WG29L4VJDUln1gq8jvpH9YbJ/7/jRSSm+P83NC1RclKl8aanOW4M9r35 X-Received: by 2002:a25:a304:0:b0:dee:80d7:e73b with SMTP id 3f1490d57ef6-dee80d7e904mr10826687276.47.1715851691198; Thu, 16 May 2024 02:28:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715851691; cv=pass; d=google.com; s=arc-20160816; b=BmOYFFsQzU6wuRpSf1F7KaUSusMFRBj/8XxAKBTujc3ZhJAjLblIZ9ztWdOlVDdIak rM655HiPdBqcmvVwL3CUy80hio3L5yzQAUZpS/9k87uyyxo2xsNjenqwu4Oi6z2XaV4H rtNoGW02fTxkrmzJkG3nodZ1oWGsIeVeVZEXfp6F/b1m/lmV39kF07Jw9x4sxzcio3uR uZFfxe0SqbyllEwnqmlQ0Tvsy9rT5kCALn+YgJG3W1OzNQz1Fd8Jo9h6qabAw4euw33u l8gH+u1mIS2xomEa3N6cmfM0bKWv1CjBTQiqOHECRz9uUZpYxVuPxQoDV+EJCVx9/RNa adiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=iBQbQB4BJv6I8rVVrg3uUQxRil7xE13pAUI65M2O3CY=; fh=NEHiVyPM7VNaeoNeMt9TOPIjMq4lCBiA6qxB8DxdmQQ=; b=VjMgIwmNsbAaDIamuQur5Oy4dCr+pWX/NCYWBU9l8GFVZTVU3rpuGIFsQcNKJSrxf7 j97WaFhqssmVjEzr4JgWo5zCYX36A18OFAUa848TA27pCnPJWhDUdd7Ny6zYz47aGjf5 7cTWqbvGpy8A2KyfmzBXULBdU88ND923BVkPBqS0R+yHJQecBKSxsMjhw5Z+RPVO0TFr nDVaGvxXdvYsreq0CYa82DsbkGwig+OBZ6vUAmbXoYuQvuM35I7FRWNRQdv1Yj3FGluA lg+SQ8MtNOgP4XCqo9XQvHUe4cMKJMAW5djOjosia5mBL2j/fhCu3aWRd5oeEdq7yt/p vSFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ems0LfIf; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-180837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f204981si165781296d6.149.2024.05.16.02.28.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 02:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ems0LfIf; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-180837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E6B261C20CD3 for ; Thu, 16 May 2024 09:28:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80ED314374E; Thu, 16 May 2024 09:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ems0LfIf" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32C4B2576F for ; Thu, 16 May 2024 09:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715851684; cv=none; b=KUbH4NRwno1ZWeA/YM+94RgiG3exQXSoIGBTucm8CK6YsxGStN+UX14n8ga52TgPT14t1kRkIsJqseL7jtDCG+U+KCLVTDl1QtdNc/qL4lKq5iQIBlOZX8u8OgGzy16PrZbX5Zca3C4/OxiCZ8/BMGjeGVP/rTZyVrw3vgbcA8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715851684; c=relaxed/simple; bh=CD5pJH6BvK5fp8EhPCUsBKFQmAv0wh7P06/iCc0Eh1M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bz/Js3u/kKDb6xzs/r1WvJApoVfBuTLWM1AyMjDZJrgjVrhmyO91czK6WzlqMGHnf5GqeGYM3YfFHDpInlEe734Y+kkXCSyE3k0ZBtT0C+1HnfnP5Y66w7PdIujcgDTODbPNByzF1LP/XD89mFM8t4o8orJWerCp0ixuXC/Ci68= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ems0LfIf; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51f60817e34so667549e87.2 for ; Thu, 16 May 2024 02:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715851681; x=1716456481; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iBQbQB4BJv6I8rVVrg3uUQxRil7xE13pAUI65M2O3CY=; b=Ems0LfIf88Cb5y4ZZYGCVp8tvyynbqorIsQ6toWud2j5uj3ljyyFzG8n1A2LoRqkXg KjroYP6zsltIVR0noeLW1gRfA4n5/gClM+8zWpToi2WSQne0EXrCy1E8Tur2pUsTCwkV p0XYw3aalHABilUHpkTDFwTtIAVovhSxdphEcgzH/crn6juqpgXRVYP3nYaHTytR7bBZ qxvNo7ZTvKwc6ItFebr+rD6RO4RdPjQTHlEGqk9j3ObQktoOu8zEKxQ7V2sU4eA/1m5r afulgYAU3DbfFXLiH9Ep3Glfu0eqq0le+Rq3bl2NqV3aez91ICPuDq34oB1ncwRTUqky VWEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715851681; x=1716456481; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iBQbQB4BJv6I8rVVrg3uUQxRil7xE13pAUI65M2O3CY=; b=RASTgea/wWKbRcoOrseRwspzvcSdzl5KePfszeJZCQRLGiXG18+TN/ZxR3HtoWPmuH vWAW4U4nuLBw1P35y4xdH7ryJZeuIWrlRrZMIIoi2JxiqoOsr8kv6/kR0ZyG1zG16rCv uGCuBK5Icfaz7j6pIG/b0rqiwDjj3DmAoCDyo0q6mJQIIRFl+wqdOWTuPFqVyxIL7d/E 8yfph6ANvH1cuntIJYDio8BcLQg+Mgi04jztWjSn1xfWdaK6jPGlKL6p/tKVerYTVBVI Qsppqz6G7EZngNOrsrXTs57kIS17nHKD899WsPvbrNH4GTPitBx/mIS8T3VkK5IWGGAQ O4rg== X-Forwarded-Encrypted: i=1; AJvYcCUxdfbU1slfh3TB7y+24VXbTpcuKkyutmS1BJmEnRTRQekA0IpTMfIX/4oyBzorjZGV7ZmGQNtN+R3oeGnI9ohJzArphwSMcikOxIm2 X-Gm-Message-State: AOJu0YxHh2bazUK7O+FKs+pOiaRl1X6KWofnHPH2VRWF6Vxxxz5bEiXm 5XQUblScwe6szoiXMG7wlgfg+cCaEhh7QZOL66lHNWA/cfW+jNTff4Klmp/QdG8TldNOEtg1zN4 1PvP2mF8yKHNB/CCU574uYSj30uk= X-Received: by 2002:a05:6512:3447:b0:51d:82a2:8d72 with SMTP id 2adb3069b0e04-5220fc6d7fcmr10228789e87.40.1715851681124; Thu, 16 May 2024 02:28:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <212a9464-d52b-4730-95b9-5a0aebd38c91@gmail.com> <688e54ec-3b29-4e3b-a2c3-f2c83b9c97b7@lunn.ch> <732d8bb2-1d4f-4958-b130-0bd15a407271@gmail.com> <949fcbea-23dc-44c1-9146-c358b15b9253@lunn.ch> In-Reply-To: From: Stephen Langstaff Date: Thu, 16 May 2024 10:27:49 +0100 Message-ID: Subject: Re: drivers/net/dsa/dsa_loop_bdinfo.c build problems To: Florian Fainelli Cc: Andrew Lunn , linux-kernel@vger.kernel.org, OlteanV@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2024 at 8:27=E2=80=AFPM Florian Fainelli wrote: > What changes have you done to the dsa_loop.c file for this error to show > up? Currently the driver does the following: > > static void dsa_loop_phylink_get_caps(struct dsa_switch *dsa, int port, > struct phylink_config *config) > { > bitmap_fill(config->supported_interfaces, > PHY_INTERFACE_MODE_MAX); > __clear_bit(PHY_INTERFACE_MODE_NA, config->supported_interface= s); > config->mac_capabilities =3D ~0; > } > > which is basically to say: I support everything, except > PHY_INTERFACE_MDOE_NA. I am currently on kernel version 6.1.55 which does not appear to have this caps code in, and neither does 6.1.90. The following commit to net/dsa/port.c, backported to the 6.1 tree, appears to fix the issue https://github.com/torvalds/linux/commit/9945c1fb03a3c9f7e0dcf9aa17041a70e5= 51387a Steve.