Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp783114lqo; Fri, 17 May 2024 01:03:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSoQE+q6hth/dwqaNV49GhLvoxgP0az7xDk41j6sg8de/SH00nKhSEq7ktBttZ/JIWDoPKWF2KSsqd+IrDTTJEgUtTEQU5itlblW9++A== X-Google-Smtp-Source: AGHT+IGE2eZTm1dhYCnpGlbfnay2cUlgTSDxXpcgxiooM2lvXOST4nIPmSBPUrlTA2PSUyqbvjng X-Received: by 2002:a05:6359:4c99:b0:192:84cb:925d with SMTP id e5c5f4694b2df-193bb5173d7mr2029575355d.8.1715933000564; Fri, 17 May 2024 01:03:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715933000; cv=pass; d=google.com; s=arc-20160816; b=ZR3B4J9AlB44xS6QJwPaY3vpC5n5KIHANDTDu50xGdwzjEE2xbFESMdSJ3iMaSUDo3 emmjU717E339x2XjW5/JUwg8M7JHFvY9NNT0ICnSeaVndld9QbZiF/Ec3VCKcjxZ6EKV M0q1jDJ7JEkOM16zIewInYsPV5iIqv8/xRRIPAdkf2gAMG8b9QFmJCigs1vipaHn9BEk H8zdSJNwjOjjRXi59vXTwT9eo3VdfXRfHg/q3peC0G/DxTXM6Mmm9HIHQ7WQJ590lcGd VZWMFIlKmR2Axo513ZuRKlmqHQnZv4YNfWiJ0FXWelDdDxrnLvp+/Hd1sl2I9IcQZikr 5+5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=5ha4NrhdigAuVz/k9mrXCJD2mT4BC6NmabOOuIjDaPA=; fh=w3dtlLx5GOnJaN08ReLHKOkw3+y0jdKvA8+Uj7iHOcA=; b=iAjrJTqlr0c1UIMobFZDL4vv0xFVSyyuLSdJAPH3Go+RyvPXhzpPq4XOjPZcvGe/Pm Jog3T5knYNacOt+YVMRmx9oNp61VDanY1LEfiAhy0/ldDh7ugxvnqT24SnJyZ9InCjQj lbILm7UNqf1iB+DJK/IhgFcjx3DZrm3LJ9EO0W1dfKU5yczo9FNupW5szViLXkNDGzAE GngzGmnSj9N0IgkIbGIxaQL3sXhg42Ixt91WKi5emzakrOIeLhO/8cLo/4kmN77KHvOc oCmi8HemgVTtN+LCnPOWo84kfVFyuLh+nkAesjV+KBaiQonhYbug5dJfkkzOOn/xEH2d fpYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BXcinLi/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43e2ccb5b33si73241451cf.571.2024.05.17.01.03.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:03:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BXcinLi/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181842-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 48C021C2100F for ; Fri, 17 May 2024 08:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12F6422F02; Fri, 17 May 2024 08:02:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BXcinLi/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3838222084; Fri, 17 May 2024 08:02:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715932932; cv=none; b=uvzuYys24FnvxiMRJeCMpydMdz6urBT9aOl+f3RdJ7ZgnMLQjSVUmllFYMka3sodaZdbGq3ILT/BIVN9smQ4PK3KJrr1/WYZYbm3mStGZ0G1huo89mJ8e6y+N14zLNF8fSXKiWaPlQ+dEjzEElXM69IC1vMYNaOQN/g8mj9gj/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715932932; c=relaxed/simple; bh=LIfxC3togYpPiQ3NtjjAwb/Tptw4luLeCd3cYBag4Pg=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=X2460D0fcbECiY1KTkxVhiFtJAIcmIjyCNfFUOrVsVv/3DT59dExkJGz66+U1X9hQTftl9bK2K1mYgaUDiD1yeTybR7AoiRedglzh2R68akSQ//Up4dybpP/+6EGa0EuCyj6WfRrsfCfo9ZbbvGSKhEi1Bg3Ye4hAYm8K372fmA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BXcinLi/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A2AEC2BD10; Fri, 17 May 2024 08:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715932931; bh=LIfxC3togYpPiQ3NtjjAwb/Tptw4luLeCd3cYBag4Pg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=BXcinLi/0Oce3XLR3UFJIvzpohnoGM/S55qXAQ5EuCDwGJw9OZyvZryxXn/K/X1lA YtgqZOZak6DYmqL4LOI4K0xdKK8mPmZ3GMM67RVLrENmtTsVBKoFSDWVNyUYrP/f7t QlJg9jQ/ZB5+cubqybmt07OLHQlZ1FYTERD6pZO1qOi2k+6z4r7wtLT1h9riZn/LTS eMlt9tZxKT7H5MDr4ts2YdPDgbwFV56+jf2WcBT2maPhM8XmgK7Tj1HjVbxi8JJlS+ UoKYSLseqWviUsj1b8yTeA3mCZh/uBUJF9cQ7apNCD88G1EV6RiDeGytQaLXFVoQbj MA72/0H47VWJw== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 1/6] wifi: wilc1000: set net device registration as last step during interface creation From: Kalle Valo In-Reply-To: <20240514-mac_addr_at_probe-v2-1-afef09f1cd10@bootlin.com> References: <20240514-mac_addr_at_probe-v2-1-afef09f1cd10@bootlin.com> To: =?utf-8?q?Alexis_Lothor=C3=A9?= Cc: Ajay Singh , Claudiu Beznea , Thomas Petazzoni , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Thiery , =?utf-8?q?Alexis_Lothor=C3=A9?= User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171593292799.3274748.9026063903119888618.kvalo@kernel.org> Date: Fri, 17 May 2024 08:02:09 +0000 (UTC) Alexis Lothoré wrote: > net device registration is currently done in wilc_netdev_ifc_init but > other initialization operations are still done after this registration. > Since net device is assumed to be usable right after registration, it > should be the very last step of initialization. > > Move netdev registration at the very end of wilc_netdev_ifc_init to let > this function completely initialize netdevice before registering it. > > Signed-off-by: Alexis Lothoré 6 patches applied to wireless-next.git, thanks. 6fe46d5c0a84 wifi: wilc1000: set net device registration as last step during interface creation ec99908906e9 wifi: wilc1000: register net device only after bus being fully initialized 5f1191ed386c wifi: wilc1000: set wilc_set_mac_address parameter as const 59cf9277c1fe wifi: wilc1000: add function to read mac address from eFuse a5d6b1d453a1 wifi: wilc1000: make sdio deinit function really deinit the sdio card 83d9b54ee5d4 wifi: wilc1000: read MAC address from fuse at probe -- https://patchwork.kernel.org/project/linux-wireless/patch/20240514-mac_addr_at_probe-v2-1-afef09f1cd10@bootlin.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches