Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6726303rdb; Fri, 15 Dec 2023 06:55:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1gcGyv8azU6I3fFFMiS1xBwZ1SL0HrT4weVrbWU91mrW7N2P09EzeR6uJ1asR16uNkgJG X-Received: by 2002:ac5:cf0b:0:b0:4b2:cdfb:99a2 with SMTP id y11-20020ac5cf0b000000b004b2cdfb99a2mr9825358vke.12.1702652110378; Fri, 15 Dec 2023 06:55:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702652110; cv=pass; d=google.com; s=arc-20160816; b=hrnBHH7hTrQvExfXzFOk9wKn/db/ejNunMA7Hd0rj66zO0NyVghroSW6/NKEzPCTYx +u2CO42qsiHFESsuWD5mjM3JoSGBL6cpSvr82xnPpe2Jvk0Ut4khi4ziMcbfFkh4tjDM +rGxfsKR665q9hoGt5P0lmsKsvoyX0gTN/xkDfaCDhVgEblvwQgQIEKv/mR+Nuhk4Q6Z Wenlv0ljv0wfbK7OrYS0yFEjJORGuBk7owvTMyNdVF04+vRFUy6v+eJlzJHkVDM7SOs0 VwD+lhc9z71iGoqCcp9IB+7r3P0UVQmECx2eYR3TAbxmDkbiXeEQWFRHp4Q31YTZ7C4W U/5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4+98QjCgvTYEn+OxbjbviKAM/7wMMvgvSL072VQPSjo=; fh=kg7r+68sVUfuSSWCfY3X9BhwkuaCXqGdfHmzT6/+uDI=; b=jeLLW2TPL9VrBz7kqHtamr8TQZ6IA4bFgQl1bodnyLEA/PdoD+xVJcQr7vetIO3KJs nE5cyloYweyQkeR2lz2eWneEN5pIIVUXr/NzQw9c04LdCYxRMm7KiUltcwAXfZsGqhlJ 9476sW11WmofZJNC0FeJ61WU0xaNBM+hX9sZYvJ0QgP/dic3ZdoP1c3IhdEDAipsKY6Q hCQkJ5Bc8MR/h1fvUby//VSSwAWB/+Pd9t8Uc75oZPN5zc21r7ZMyYhl/b6G18zTCpsd tioDwXzOMs9jNvhIr8nviz2l0a9UtX+3L4d6/QqMrtNKD0klCRSf2beIVRMWi/J6ijq9 sSfQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="B/lwUzTL"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-wireless+bounces-841-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-841-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p11-20020a05622a048b00b004254f054839si7781074qtx.73.2023.12.15.06.55.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:55:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-841-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=@amd.com header.s=selector1 header.b="B/lwUzTL"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-wireless+bounces-841-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-841-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.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 732C91C2391A for ; Fri, 15 Dec 2023 14:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1E5E35884; Fri, 15 Dec 2023 14:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="B/lwUzTL" X-Original-To: linux-wireless@vger.kernel.org Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2061.outbound.protection.outlook.com [40.107.93.61]) (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 8607A1856; Fri, 15 Dec 2023 14:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kiXBpmmOH9SlMZonuka24y0C74Cekj36evxW/ccAS6YGt+9Er2UkY53DN9rnNMu8Us5eS12Q6WHYroSc2R+su9bp9qsaIC8XqtKH7RdsZ17SF+SapXe3+g6XXAffWQmJJ/WrHKdVIQaOrbkUDZFhJB/7dLcKA/tyjRV/BPk8vZdQK/dnCXIpiLW+Xi4g30YdI0o89BX+iTdXGUhKe7TOAaAwTfPjQLrCpsWaSwhJuyjw9wY09tVBIkYP1Jd06aJ42w5rQJjTITXxitY37szTRGLa14NMnGH9skdSBYRdwpwzqh3YMquJH8aLuY9XV9tl/WvtdO8o3zaa0Zo+fRzi1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4+98QjCgvTYEn+OxbjbviKAM/7wMMvgvSL072VQPSjo=; b=BP2hCCrw7Kc1/nNGokFZ3J+mbdHzl2yHnD+R9c3z8QuKl0RghCD75WaZtaZYXhNYPICsAaBVvNl+GSN5lkF2dnSvhMlHO5IXu8pG39kUTmY6Me9PdINcuUJ6v9stqXz8XxfqHBuMhg1vcfwcKmNhwU2f/2axMDDTbXkcVTetHgaoJnh7Unvjn3zdxkfzP1AW1+q9+zd1SeiRPbVxDpirmmpxdYS8wDj6sHHJGRY+aKzese/pN+esImXCGLAj3SeVPS0XnyUF0JPd2M6MveBWn1/iwWMe6bMc33h3gwV+tY46VqPA/zcoPVBlAq3UI94/jHhvq1O/XIDPNt6PbMMXsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=sipsolutions.net smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4+98QjCgvTYEn+OxbjbviKAM/7wMMvgvSL072VQPSjo=; b=B/lwUzTLh53/EcOh+QABUVVtSPJlooGh5Xq5piOREKxwVmBNlGtZEYkJZEKv7OGbLe4pcsAKxC0K33zSMBYOjYV7TBdHNw8EBdjaFEB7XX23RHBs5Op04/bq39ZCuqmgfoSiyBfS1oDShNpAaUPFve9uarwXC7v5Y1oOqD8oJbk= Received: from DM6PR12CA0003.namprd12.prod.outlook.com (2603:10b6:5:1c0::16) by CH0PR12MB5025.namprd12.prod.outlook.com (2603:10b6:610:d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.31; Fri, 15 Dec 2023 14:55:01 +0000 Received: from DS1PEPF00017094.namprd03.prod.outlook.com (2603:10b6:5:1c0:cafe::22) by DM6PR12CA0003.outlook.office365.com (2603:10b6:5:1c0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.31 via Frontend Transport; Fri, 15 Dec 2023 14:55:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF00017094.mail.protection.outlook.com (10.167.17.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7113.14 via Frontend Transport; Fri, 15 Dec 2023 14:55:00 +0000 Received: from AUS-P9-MLIMONCI.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 15 Dec 2023 08:54:49 -0600 From: Mario Limonciello To: Johannes Berg CC: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:MAC80211" , "open list:NETWORKING [GENERAL]" , open list , Mario Limonciello , Jun Ma , Subject: [PATCH] wifi: mac80211: Use subsystem appropriate debug call Date: Fri, 15 Dec 2023 08:54:39 -0600 Message-ID: <20231215145439.57286-1-mario.limonciello@amd.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017094:EE_|CH0PR12MB5025:EE_ X-MS-Office365-Filtering-Correlation-Id: e85cd8c8-5c0a-4cf6-b02c-08dbfd7dd046 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xhgxoUypo/mU/7bJ4TYYZRxwZSf2fk8hGso9jLqWHxtasQfJKTinjFBWkPt1L64G0hBTHrXzOOR+GrHBEcjFOPbMZv+08qUoiSAmcJwtNsXWpXkdOCrony9A8wKJrVLgGmwUTzJGeYbm/4fvoebTRsgNICD1gg+D0AkO6vLr3N0p9+PdpoCHBbuQX+TbBslcMvLK8iUTKfudzQmPOrJY/SeV8cKQYfMGe2g6Kf7bZpWLt34/gXM+KB5GUKhInqiRH3el2iaT+Fz3NbmNqESm9wLOaFbotG3gFObt2HIGPYnGgfZA+iN1MY1VX5eObLgXK51YjfFdDXx0/SbjPc+ZZ4aQ8JYxzkvftBNfeA3wtyfnq+QDWdLZ52MRDot7ZlHdsZB3rUYs0OeLpoqppVB7aejriZ+fF2em6TA6rJZnMvcFBbE/wt7yp+x6smw6rHzYwJVCSjVPTGobn6Dx9KLDoEX413PfeuX/mxgh7w1gwGeafGhfsCZAk/F0edgSdXccqojy9NxO38yCWOwvup4A/FmjVlRn0xpY/F6LPNZmiMZ+kBcRh+c6Xjlo18kKPDiMJ/i8M1ZSqowga3v9+w3anzCygh65Xgfm2Bpcz7iUcyZbDkyS1fOsGeHzUA+hF8MNno2CVpKxf04RpCWNYv2ErXAIoT/t1a/I4+3xMGTYBoxhjmqs9OS2XqsYzezrOhKbjlVLPGxtxGt0FHkcQ3K8RVmthC7GhfAtIgE6KOE52mxr7J6QPvZXokj0EY5+6/bQJPPCNZJ/3FnM98vyo5hcIw== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(376002)(396003)(136003)(346002)(230922051799003)(186009)(82310400011)(64100799003)(451199024)(1800799012)(46966006)(36840700001)(40470700004)(40480700001)(40460700003)(16526019)(26005)(426003)(336012)(7696005)(2616005)(1076003)(82740400003)(356005)(36756003)(86362001)(81166007)(47076005)(83380400001)(4326008)(5660300002)(44832011)(36860700001)(6666004)(70586007)(6916009)(316002)(70206006)(8676002)(8936002)(54906003)(2906002)(41300700001)(478600001)(966005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2023 14:55:00.9308 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e85cd8c8-5c0a-4cf6-b02c-08dbfd7dd046 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017094.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5025 mac80211 doesn't use dev_dbg() but instead various macros from net/mac80211/debug.h. Adjust wbrf code to use wiphy_dbg() instead. Cc: Jun Ma Reported-by: kvalo@kernel.org Closes: https://lore.kernel.org/amd-gfx/8bd60010-7534-4c22-9337-c4219946d8d6@amd.com/T/#mfe2f29372c45130d27745912faf33d9f7ce50118 Fixes: d34be4310cbe ("wifi: mac80211: Add support for WBRF features") Signed-off-by: Mario Limonciello --- net/mac80211/wbrf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/mac80211/wbrf.c b/net/mac80211/wbrf.c index a05c5b971789..12c23e14f884 100644 --- a/net/mac80211/wbrf.c +++ b/net/mac80211/wbrf.c @@ -23,8 +23,8 @@ void ieee80211_check_wbrf_support(struct ieee80211_local *local) return; local->wbrf_supported = acpi_amd_wbrf_supported_producer(dev); - dev_dbg(dev, "WBRF is %s supported\n", - local->wbrf_supported ? "" : "not"); + wiphy_dbg(wiphy, "WBRF is %s supported\n", + local->wbrf_supported ? "" : "not"); } static void get_chan_freq_boundary(u32 center_freq, u32 bandwidth, u64 *start, u64 *end) -- 2.34.1