From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.7 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796265669; b=1drDhJsFP08FOfNIchRlpafuyRknyy5uAo3sw5fSUDgDBir/gBKVbehXnTDzahmE274B 2lSvK/z+VQm9SqAMY4sa1Q1LuZ3tiyEidRiaviP4krrb0qM1vVCEAL8Zy+ngW9TGt56zq uHVAaddQGOrQl3oP5Uo9dPWyxEgWLjbnz6Thb39tQow7J+pt4kKwvYXfnFeFLWyWO02+T s+sGFr/nF2Zif2UFUsXxrfSOsL4p2k+Vmf4vnJ08lK6Ylj8kDD9oGm1mjttZBUb3eUOFf m7BxmA9leyfqw8mjfzyfiLAoWA6kYonf1ov0GlE+Eq8pclYhPKqZ7rQImqEn8MvGBtA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796265669; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=LAliKIqrfFC1wyTp/8YEn1PZ0A1ZkBPr1FVAzPaVjLo=; b=RjQ3ibMn7DfdPVK/bmrQVO0OCwiNmGDOWp1ho5QpsKcs92MbOg1tar0ccavyuJwAFH9G tVjkPVh9w3Fkdni555wOFaNFAcKGnsy6UQm8dyHDWW138fIOgicnUvLusKD486qtw/1No x28tOYcltvnXmTWGBOa0w/qZJo+VPKDaKglNx63gF+2G4MCpbTaUcPC86N1+NOOrIokx5 KehyKQmobLGyjNNmlvKLxd2uL/+kiUgrwm6fMbm6s5whoGHxz5k7kS0i6/9ldZwLaHngl wiVpMPJe0olFjcctLMrzkXugeT4DhiTiS28MmnfpxzXO84Z5G7co4dpFgiDZFiDsXJw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=THm4nHUi; arc=none smtp.remote-ip=192.198.163.7 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C86A1606A322; Thu, 3 Dec 2026 02:41:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C86A1606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=THm4nHUi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796265669; x=1827801669; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LAliKIqrfFC1wyTp/8YEn1PZ0A1ZkBPr1FVAzPaVjLo=; b=THm4nHUi0SrLgz1pUfz8xlHpfu7LEVHUccJArJLEFFa8S+jww6YVxtFE eLYiYGkSnTt0hCBh+M8vS/9jcPjqb0Gj68pi0wQPq2vQYjB/rkXylnECJ liy7QsYbrrmDLRMAnOl5OxSaUX4rY7FZuLjZlL3WyUyuesxDzZM/Hy2HS 245bILJZcTYbWu7N6ejkqDlrzDNXoNMlEbh7RpJKlCn3F5LQxLRLpWugx YXJXHdD9BzZeGQYfRIMYmGhB6m3rNUQSeu8g7zCxEQgEM0y+X4675PzMk fSych8+liyp+XUtnKXvdQOr0RydQBCQwj5ag1QEB6G4035JK+mtiwVfIw Q==; X-CSE-ConnectionGUID: 46QwR2ALRtellhqn0Oqe7g== X-CSE-MsgGUID: Q/MtvqkKRFiw/JnaOsrSsQ== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5058520" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5058520" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 18:41:07 -0800 X-CSE-ConnectionGUID: NKOox1LwQQK9nV1F48eGdA== X-CSE-MsgGUID: WIUQRO72Qj2SPqphQkF6Tg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="13511327" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 02 Dec 2026 18:41:04 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xYwkn-00000001gkz-3Bmz; Thu, 03 Dec 2026 02:41:01 +0000 Date: Thu, 3 Dec 2026 10:40:51 +0800 From: kernel test robot To: Shuai Zhang , Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, chejiang@qti.qualcomm.com, quic_chezhou@quicinc.com, wei.deng@oss.qualcomm.com, jinwang.li@oss.qualcomm.com, mengshi.wu@oss.qualcomm.com, Cheng Jiang , Shuai Zhang Subject: Re: [PATCH v2] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072 Message-ID: <20261203103436.SmEVip6z-lkp@intel.com> References: <20261202131436.3448000-1-shuai.zhang@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202131436.3448000-1-shuai.zhang@oss.qualcomm.com> Hi Shuai, kernel test robot noticed the following build errors: [auto build test ERROR on bluetooth/master] [also build test ERROR on bluetooth-next/master linus/master v7.4-rc5 next-20261202] [cannot apply to linux-review/Shuai-Zhang/Bluetooth-hci_qca-Wait-for-baudrate-change-event-on-WCN6750-6855-7850-QCC2072/20261202-190933] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Shuai-Zhang/Bluetooth-hci_qca-Wait-for-baudrate-change-event-on-WCN6750-6855-7850-QCC2072/20261202-211436 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master patch link: https://lore.kernel.org/r/20261202131436.3448000-1-shuai.zhang%40oss.qualcomm.com patch subject: [PATCH v2] Bluetooth: hci_qca: Wait for baudrate change event on WCN6750/6855/7850/QCC2072 config: i386-randconfig-1000-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203103436.SmEVip6z-lkp@intel.com/config) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203103436.SmEVip6z-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/20261203103436.SmEVip6z-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/bluetooth/hci_qca.c:1540:8: error: use of undeclared identifier 'QCA_QCC2072'; did you mean 'QCA_QCA2066'? 1540 | case QCA_QCC2072: | ^~~~~~~~~~~ | QCA_QCA2066 drivers/bluetooth/btqca.h:156:2: note: 'QCA_QCA2066' declared here 156 | QCA_QCA2066, | ^ drivers/bluetooth/hci_qca.c:1580:8: error: use of undeclared identifier 'QCA_QCC2072'; did you mean 'QCA_QCA2066'? 1580 | case QCA_QCC2072: | ^~~~~~~~~~~ | QCA_QCA2066 drivers/bluetooth/btqca.h:156:2: note: 'QCA_QCA2066' declared here 156 | QCA_QCA2066, | ^ 2 errors generated. vim +1540 drivers/bluetooth/hci_qca.c 1497 1498 static int qca_set_speed(struct hci_uart *hu, enum qca_speed_type speed_type) 1499 { 1500 unsigned int speed, qca_baudrate; 1501 struct qca_data *qca = hu->priv; 1502 int ret = 0; 1503 1504 if (speed_type == QCA_INIT_SPEED) { 1505 speed = qca_get_speed(hu, QCA_INIT_SPEED); 1506 if (speed) 1507 host_set_baudrate(hu, speed); 1508 } else { 1509 enum qca_btsoc_type soc_type = qca_soc_type(hu); 1510 1511 speed = qca_get_speed(hu, QCA_OPER_SPEED); 1512 if (!speed) 1513 return 0; 1514 1515 /* Disable flow control for wcn3990 to deassert RTS while 1516 * changing the baudrate of chip and host. 1517 */ 1518 switch (soc_type) { 1519 case QCA_WCN3950: 1520 case QCA_WCN3988: 1521 case QCA_WCN3990: 1522 case QCA_WCN3991: 1523 case QCA_WCN3998: 1524 case QCA_WCN6750: 1525 case QCA_QCA2066: 1526 case QCA_WCN6855: 1527 case QCA_WCN7850: 1528 hci_uart_set_flow_control(hu, true); 1529 break; 1530 1531 default: 1532 break; 1533 } 1534 1535 switch (soc_type) { 1536 case QCA_WCN3990: 1537 case QCA_WCN6750: 1538 case QCA_WCN6855: 1539 case QCA_WCN7850: > 1540 case QCA_QCC2072: 1541 reinit_completion(&qca->drop_ev_comp); 1542 set_bit(QCA_DROP_VENDOR_EVENT, &qca->flags); 1543 break; 1544 1545 default: 1546 break; 1547 } 1548 1549 qca_baudrate = qca_get_baudrate_value(speed); 1550 bt_dev_dbg(hu->hdev, "Set UART speed to %d", speed); 1551 ret = qca_set_baudrate(hu->hdev, qca_baudrate); 1552 if (ret) 1553 goto error; 1554 1555 host_set_baudrate(hu, speed); 1556 1557 error: 1558 switch (soc_type) { 1559 case QCA_WCN3950: 1560 case QCA_WCN3988: 1561 case QCA_WCN3990: 1562 case QCA_WCN3991: 1563 case QCA_WCN3998: 1564 case QCA_WCN6750: 1565 case QCA_QCA2066: 1566 case QCA_WCN6855: 1567 case QCA_WCN7850: 1568 hci_uart_set_flow_control(hu, false); 1569 break; 1570 1571 default: 1572 break; 1573 } 1574 1575 switch (soc_type) { 1576 case QCA_WCN3990: 1577 case QCA_WCN6750: 1578 case QCA_WCN6855: 1579 case QCA_WCN7850: 1580 case QCA_QCC2072: 1581 /* Wait for the controller to send the vendor event 1582 * for the baudrate change command. 1583 */ 1584 if (!wait_for_completion_timeout(&qca->drop_ev_comp, 1585 msecs_to_jiffies(100))) { 1586 bt_dev_err(hu->hdev, 1587 "Failed to change controller baudrate\n"); 1588 ret = -ETIMEDOUT; 1589 } 1590 1591 clear_bit(QCA_DROP_VENDOR_EVENT, &qca->flags); 1592 break; 1593 1594 default: 1595 break; 1596 } 1597 } 1598 1599 return ret; 1600 } 1601 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki