Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4073621iob; Tue, 17 May 2022 13:19:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcvM6DKS/28mBBSVGanSEA2l8irV0lgZmbKGJQCY32L3nAZ4xbQtoZX8Mj14lmb1hEsgX/ X-Received: by 2002:a05:6402:d0a:b0:421:10e6:2ecc with SMTP id eb10-20020a0564020d0a00b0042110e62eccmr21047632edb.329.1652818774658; Tue, 17 May 2022 13:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652818774; cv=none; d=google.com; s=arc-20160816; b=nHG9dgkzgEjUgJhtEyGKznacns+hLWZQa8urS3X9CojDqFKDRz297cAiTIbGV503yH jxfcgQlqrdip5A15Y2Ziso4VM01OsghOUs4TKDjcLl55L7tsxMWq8lWIC8rNdNNAQCZH d/jiUwpwuiUad3455FuPsaHQgbx0Ope/AYw4UrN4mGNIMsSiVxRyNYKPYHr0EOyc5Ld2 YsO0R6iFjb1y5eA+DDQsEkPedb4lxWc4XCFG7bOFwXGJT+USqBisOawvv96bTaW6AFBF tvRn2J+Rk67pH2/bQvuSSNmK4z8glPYGunhqNUa0xCgiJj0YlJ3LFf+RAW0CtZKQh2lU 7vBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :references:in-reply-to:message-id:cc:to:from:dkim-signature:date; bh=8cuV2SZDjnTbwICdrDXtHr+Liqsv/h3p9RfuDQgFjGE=; b=JLaloWQsLgrhhRSD/XbwSKC5ezs4XU1KVuPV3dN5ncKpdjpej+pfwk0EA/W7Yf8/3q JPFbIQllJq9q9TAZ4/SHV2OWTBscay5GbadMOc3oR8yVtlszkHqj55QB/uxS2UYe2Ws9 tj/AnClzfTcZ9VpYXvzxfVuM5bcJ1QLR8kxQLLSC8EGf5l3wHT/5/kfSqBNIZXqySB8l A7D6Aq20bVkjosZCxWRoLxr/Wm7ftUFJWtxLlPRORmG5Bl09Vf4HH9YGkDuLsk0GFvxr 7pzyInmeg5oJYColWTOho1r2ed0RBqg7dE6LQYCGX+o9XWejkDPoxJ9k8GSti/iI0hhi 4mmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=B7bwlVgV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020aa7c681000000b00427d0e5c909si165412edq.414.2022.05.17.13.18.44; Tue, 17 May 2022 13:19:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=B7bwlVgV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352443AbiEQS40 (ORCPT + 99 others); Tue, 17 May 2022 14:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234727AbiEQSz7 (ORCPT ); Tue, 17 May 2022 14:55:59 -0400 Received: from mail.mutex.one (mail.mutex.one [62.77.152.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FE87CE23; Tue, 17 May 2022 11:55:57 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id BFE1116C00B8; Tue, 17 May 2022 21:55:55 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hspIlhltdJJu; Tue, 17 May 2022 21:55:54 +0300 (EEST) Date: Tue, 17 May 2022 18:55:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1652813754; bh=8cuV2SZDjnTbwICdrDXtHr+Liqsv/h3p9RfuDQgFjGE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=B7bwlVgV+//bcGgkWfRXj5/aiF8gD2H30A3tHwKLU9m7r5lcBcT2zrOLhgIGVKnW+ gK4tgEfrdO/GizBofgYfyt3KMY1MabL4DwFMzx5prK/VemMPimTuAT1c+Dbb5DvHe3 6E3T1p+fkWUawToMccceZsILsnK3hDQ0q4KSKZ30= From: Marian Postevca To: Maximilian Senftleben Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <6c0eb462-3fab-473d-8989-b56e5748e5f7@mutex.one> In-Reply-To: References: Subject: Re: PROBLEM: No static MAC address for usb gadget ethernet via kernel parameter any more. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Correlation-ID: <6c0eb462-3fab-473d-8989-b56e5748e5f7@mutex.one> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 12 May 2022 16:39:02 Maximilian Senftleben : > [1.] One line summary of the problem: > > No static MAC address for usb gadget ethernet via kernel boot parameter any more. > > [2.] Full description of the problem/report: > > In 5.15. and before we were able to set a static MAC address for the usb gadget ethernet connection using kernel parameters "g_ether.dev_addr" and "g_ether.host_addr". > Since 5.16. and more concrete after commit 890d5b40908bfd1a79be018d2d297cf9df60f4ee, this is no longer possible, and a random MAC address is assigned. > (Possible Regression) > > [3.] Keywords (i.e., modules, networking, kernel): > usb, gadget, mac, g_ether > > [4.] Kernel information > [4.1.] Kernel version (from /proc/version): > Linux version 5.17.4-141174-ge11818a6ec02 (ms@local) (arm-v7a-linux-gnueabihf-gcc (OSELAS.Toolchain-2020.08.0 10-20200822) 10.2.1 20200822, GNU ld (GNU Binutils) 2.35) #14 SMP Thu May 12 13:51:50 CEST 2022 > [4.2.] Kernel .config file: > - Could you please send the kernel .config file and kernel command line with which you reproduce this issue?