From patchwork Sun Apr 16 12:42:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hector Martin X-Patchwork-Id: 8254 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1548396vqo; Sun, 16 Apr 2023 06:11:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YcoAsjo1HQ58q6tSdxipEL1/aWs4Bnl1y9VlvNxTS5TVl7uE/pIU6yzTRHpBHtaifTBdyS X-Received: by 2002:a17:90a:f3cc:b0:23f:6edd:41da with SMTP id ha12-20020a17090af3cc00b0023f6edd41damr12094237pjb.29.1681650690960; Sun, 16 Apr 2023 06:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681650690; cv=none; d=google.com; s=arc-20160816; b=CGrWk1VHlpfBM8xCeY9r62I7eZbWGM01Hv6OqtS/3bTAy3VH+SnWaN9w19B/g1xtHh t409r/ZLVi2rKLqsO6l3JNFiE5X/QOk81zbSrEsr3rCuFAJBTIU4XetN/BLEc4J98n/Z 7wO9qV0iuhV10x4XDBNeaKhSvA0HUJMoKWK6RQv7AGVhpdfNWhPLpJ3QGviz/nstqown FM2OKGDZLp9ls3er2UyZh6iATt1lqOBP3cGwp/KsW1Crz8hU6eJPDW+TLPTDdNaK8V32 8iRrvtd6ObgZ1K0v28owU4OFTv49hJIhabdGgKtLndTBWVeUE1oG8LLLRkhh01l8TFE5 ScDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=biL/ewxnu1p/NzQzCXpETSPE0NHe1cjxunzCdbUyhH4=; b=BrTu8AuJGrQ9z1esPsykYqA/+EJBDB9ogejU7+eHkUxIEFwPLpT9ri20vVrdkWSoIo R+HM38Zn0mO6HvlsMQGPoOgg1oVJwCnVtLRm+6iBVQNwYS0NSbj/11AaXjwOvqRNbZ6n n3vXBugquSS4PBy3PpNlqw9lQ2nhhsad6tO47Pw3Zpp8ay5dQjOPGCrg636WhVCbSM0G xwiEwBSVzEdW4wN/t5sWDGOhfb2LHN1ps5qk+7qGB7JuKv7fYNauAYlv9GY5vNJf37pb iPM0d4C+jaUpt+5WliYzP3+BJu8XywYVCfiMB8TIwoJCiKLEehnNHg4SVGFC9Ho/PNhi NzNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=vVkaE07b; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi16-20020a17090b1e5000b002477dac5834si2091311pjb.95.2023.04.16.06.11.15; Sun, 16 Apr 2023 06:11:30 -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=@marcan.st header.s=default header.b=vVkaE07b; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230337AbjDPMme (ORCPT + 99 others); Sun, 16 Apr 2023 08:42:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230282AbjDPMmc (ORCPT ); Sun, 16 Apr 2023 08:42:32 -0400 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 843881737; Sun, 16 Apr 2023 05:42:30 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sendonly@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 580D3447CF; Sun, 16 Apr 2023 12:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1681648947; bh=Mkd1JPhb3nS2pj7N8smN5I/IKmBOuca+sSQG67P1+dk=; h=From:Subject:Date:To:Cc; b=vVkaE07bZiUVG7gtA4MidB59VajJKt1rkQ4TQGlkO4MKwOFudLwx3dJXVcRnTg1XZ klkdsoZq3VOLGGjFk5YY/Xwy5JFwvu/V1mZ6w0TeVegzhI7rJKMANTqUjsIDDgpWZR FGfgF/nAUxRNlnW8mWUMf6BgNSG65YwukgL9C71vhRaY3JTlK76FJNPbmjVIh7vKJH gnJGHs3HeadL7sFbkXdAlRR54jBYrY/kHbWa/8oiDoeNM66e7wWGi7Rbw+UmxwygqC 8OzX4TBZ+w5cVvzZYE17g/Vgf34FxOhZ5A8xlRGo0lg3UWspAmA04v6Nn3nWUQvmim V66w5/8fNIEmg== From: Hector Martin Subject: [PATCH 0/2] brcmfmac: Demote some kernel errors to info Date: Sun, 16 Apr 2023 21:42:16 +0900 Message-Id: <20230416-brcmfmac-noise-v1-0-f0624e408761@marcan.st> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACjtO2QC/x2NQQqDMBBFryKzbjBOShCvUrqYxInOwiiTWgTx7 o1dvvd5/BMKq3CBoTlB+StF1lyhezQQZ8oTGxkrA1p09tl5EzQuaaFo8iqFDQbi3vXOJxyhRoG qDEo5znf28RaPNqjkad/ufVNOcvwPX+/r+gEA4845gAAAAA== To: Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "John W. Linville" Cc: linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, Hector Martin , stable@vger.kernel.org X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1405; i=marcan@marcan.st; h=from:subject:message-id; bh=Mkd1JPhb3nS2pj7N8smN5I/IKmBOuca+sSQG67P1+dk=; b=owGbwMvMwCEm+yP4NEe/cRLjabUkhhTrt7ru07SCfl5rmW3R5x16bpXI86Mc6klakxYp7Y+Te GETl3C/o5SFQYyDQVZMkaXxRO+pbs/p59RVU6bDzGFlAhnCwMUpABP5mcLI8NXrfNq2qTnZNflc y7uYv+Su4xC6mGH/P0Pi8wXZDQl2DYwMF9+5r1/orvoxO1pC14GNn+FpBN+Ok4/L+IR/KBcdaDr GAAA= X-Developer-Key: i=marcan@marcan.st; a=openpgp; fpr=FC18F00317968B7BE86201CBE22A629A4C515DD5 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,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763338554658622656?= X-GMAIL-MSGID: =?utf-8?q?1763338554658622656?= brcmfmac has some messages that are KERN_ERR even though they are harmless. This is spooking and confusing people, because they end up being the *only* kernel messages on their boot console with common error-only printk levels (at least on Apple Macs). Then, when their system does not boot to a GUI for some other reason, the brcmfmac errors are the only thing on their TTY (which also does not show a login prompt on tty1 in typical systemd setups) and they are thoroughly confused into believing their problem has something to do with brcmfmac. Seriously, I've had 10 or so people mention this by now, and multiple confused Reddit threads about it. Let's fix it. Signed-off-by: Hector Martin --- Hector Martin (2): wifi: brcmfmac: Demote vendor-specific attach/detach messages to info wifi: brcmfmac: Demote p2p unknown frame error to info (once) drivers/net/wireless/broadcom/brcm80211/brcmfmac/bca/core.c | 4 ++-- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/core.c | 4 ++-- drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 4 ++-- drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/core.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230416-brcmfmac-noise-2bae83836f2d Best regards,