Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2054150rdb; Tue, 3 Oct 2023 08:55:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJKY3qLebs4yNP3rBYJ3G2awo0ZAAHhQ0kLdyajP/k1Ic5gnfdvsGxXMAw/NvoWEfHYCRA X-Received: by 2002:a05:6a00:1303:b0:693:3870:edf5 with SMTP id j3-20020a056a00130300b006933870edf5mr14470960pfu.22.1696348506440; Tue, 03 Oct 2023 08:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696348506; cv=none; d=google.com; s=arc-20160816; b=wRsVD4THdNEkbVR5JByCo3bLtLPEVrv7SdOV4qfhir1GcQeGBqhiQe6sD6uhEfFmHG +1kvQfHDwM6FwaxeRSdJRG/1eE7j4UDq/LNUdXjrDIxuBmSEsGc7ZtYGjsTRgCUy9r0h t2Wg0WBMlc4Z0i57NvD/f/kua43MUSvv8v1G+RlciDyAXy391x6yMb4vyXAH+LAbwuR9 d/VZ8WYxefrRgzQVTSBfpMhduaRaSKYmbNcx5SwXzjLeqRxa+zRj9/YhTPW3IczpxIT0 6b8XS57ULcOMITdd6R6NbkaoWCbcUIqi4xycCsUKmVNZ8TzrX7A6YskrMMhe/+1r8JIk UMNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HUXyGXoLKhyYQeoVnJGMcDOQp0CNl54U8zFApb+wyvU=; fh=v+ROWgMyECfWIObfZOtK2XSHaMp9mnxhJUEG4GOuWh0=; b=vQ7vzAAHcc2eESeAEiFkIGyMDNqgecj/6xbEctED9+IMdrEXJ0M1O/LsjbYOYmPpQb ss60VzXAXbhd0abQaijGSdgqgHe8DauTRRTNbk5EryBCD3P6/8LoafYxyI76sYj+sELN SG7cTIJNIddKhjs5pg7YWWTn4akaIByOfXq3U+NFAjYwbq0fWb3I5jzxxXr27u9GfV3J jj+SVGRaWh3kYNfUobGELHn5KpkPJjH2bF/zWjlqMJrmpYcZXYcRUYJ4dxcT29BPOLbc nao+IBzC2Lq7uUdrTNJnrEh0Hv4spuyg1W9W/KhNbs8/bqIb/iMMVeSvcn3HGORAskK/ EyeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mOR1T5ec; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k63-20020a638442000000b0057ab7d43d5fsi1783506pgd.57.2023.10.03.08.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:55:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mOR1T5ec; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C3266802AFD5; Tue, 3 Oct 2023 08:55:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231922AbjJCPzE (ORCPT + 53 others); Tue, 3 Oct 2023 11:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231851AbjJCPzE (ORCPT ); Tue, 3 Oct 2023 11:55:04 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B46FDA6 for ; Tue, 3 Oct 2023 08:55:01 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 393FdGH2018635; Tue, 3 Oct 2023 15:54:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=HUXyGXoLKhyYQeoVnJGMcDOQp0CNl54U8zFApb+wyvU=; b=mOR1T5ec9TwlP5LUINFKJBfiFdSSKg1kEGmBlDkKbvvna2h4INznZxJYkHF8+gtjTTZn c8DkvcCJcxEUfBS/dFCJiREVkuvcWMJAjANUMGxtzvhJjzv5r5m2ImJFifBleVee7v+N MMCBGQilKPU01VT38z4OWnIan6YzkM2mIlU+f0JExH8EU7dGfIm4Kll4sinGLYSo0JwG WLvltnL7SaHFs6n5wpR8A9g9CuzG1wKBbmi33s5hXb3JNENvaAjFsQZsIw7200xTwxlV /xQdCxICMAG2JtA+gM7nIe0LzXPSMruXTO3shXUL6bYavCJ657Zo5e4D+qMOm/ePznFw SA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tgbjj9f81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Oct 2023 15:54:56 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 393FstmF002725 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Oct 2023 15:54:55 GMT Received: from [10.111.179.185] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Tue, 3 Oct 2023 08:54:55 -0700 Message-ID: <946415fc-f8a6-42ee-b20c-f6a895a2db4f@quicinc.com> Date: Tue, 3 Oct 2023 08:54:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: ath12k: fix debug messages Content-Language: en-US To: Kalle Valo , CC: References: <20231003150132.187875-1-kvalo@kernel.org> From: Jeff Johnson In-Reply-To: <20231003150132.187875-1-kvalo@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Og_jjKyYrwNo3ZelrdfklecqSZ3seJVw X-Proofpoint-ORIG-GUID: Og_jjKyYrwNo3ZelrdfklecqSZ3seJVw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-03_12,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 clxscore=1015 impostorscore=0 phishscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=906 adultscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310030119 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 08:55:03 -0700 (PDT) On 10/3/2023 8:01 AM, Kalle Valo wrote: > From: Kalle Valo > > In ath12k the debug messages were broken, no matter setting what value to the > debug_mask module parameter would not get the debug messages printed. The issue > is that __ath12k_dbg() uses dev_dbg() to print the debug messages which requires either enabling > CONFIG_DYNAMIC_DEBUG or DEBUG symbol in the driver. > > ath12k is supposed to use debug_mask module to control whether debug messages > are printed or not. Using both CONFIG_DYNAMIC_DEBUG and debug_mask parameter > does not make any sense so switch to using dev_printk(), just like ath11k does. > Now it's enough just to debug_mask module parameter to get the debug messages. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Kalle Valo Acked-by: Jeff Johnson