From patchwork Thu Jul 18 07:06:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 13736099 X-Patchwork-Delegate: pkshih@realtek.com Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 626D58488 for ; Thu, 18 Jul 2024 07:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721286417; cv=none; b=tRVfDvYPonrtqeo+1DyQHklrSalkItJaTpJseCOokadMCtpr/aJW1S1bpRDfPgnN5noeqc+X0Q1qPGz2bMi92RTZpeg+2KMGTmtVnX3AZD1ydL+tJM+npXra9Q3fZ91nW/lQcwiCXwB3jBKwodg5AXt1nSF2F5a9DN+jcPg38/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721286417; c=relaxed/simple; bh=ElpgI61lBOzqqNenhwq/2hPZggEfvlZtdEvv7TVBlOg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=t1Uv3xdQ3dVfUQ0oxeeEWEZX+l29jVrO2KmZjEmgepIFYwwGQWY70yhZuK+tq3IR25j6jqA3L/kqYGzgIprDFE064WQscnBFu3h0skGTKsbxMxEmzGBzn40uDep+4mMN0eYGXxJrJKGINR5F1/xNIzfLy3PMs27RY8GQvFaY+ps= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b=iO3tKWQt; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b="iO3tKWQt" X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 46I76q0uA3097209, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1721286412; bh=ElpgI61lBOzqqNenhwq/2hPZggEfvlZtdEvv7TVBlOg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:Content-Type; b=iO3tKWQthX0Y9RpGUIW3xDICyVh9lhzkEv/eYnrrOjdVP0rr53P/CXlgMjIy3AFmX q7sBPu2YF44ln8Q22FVdX8hkeHyN7dwhMA2nUhvAXzh/zcU4S1dVfvKeIlXVeIyaHH nYpl27HmrI6G3YScKtYigbP4Rgg+Nh/hPD6PWg5qROPYtFwkPqLqpnt/NWugUm76H0 v1m0d9cVOKtkW0MUENXCByHdt52oUnswQZbWyixcoo/mi0VxD0Wln7oliNShUUA0q4 2DfEhk97SObjiPkJG9lq/ZvtNui7dJGbwEijsOxvUVYZAgoyHe5fKx5AHdAg8gDSlw +qfaemDPYUxcA== Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/3.02/5.92) with ESMTPS id 46I76q0uA3097209 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Jul 2024 15:06:52 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 18 Jul 2024 15:06:53 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Jul 2024 15:06:52 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 1/2] wifi: rtw88: select WANT_DEV_COREDUMP Date: Thu, 18 Jul 2024 15:06:15 +0800 Message-ID: <20240718070616.42217-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) From: Zong-Zhe Yang We have invoked device coredump when fw crash. Should select WANT_DEV_COREDUMP by ourselves. Signed-off-by: Zong-Zhe Yang Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw88/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw88/Kconfig b/drivers/net/wireless/realtek/rtw88/Kconfig index 22838ede03cd..02b0d698413b 100644 --- a/drivers/net/wireless/realtek/rtw88/Kconfig +++ b/drivers/net/wireless/realtek/rtw88/Kconfig @@ -12,6 +12,7 @@ if RTW88 config RTW88_CORE tristate + select WANT_DEV_COREDUMP config RTW88_PCI tristate From patchwork Thu Jul 18 07:06:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 13736100 X-Patchwork-Delegate: pkshih@realtek.com Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B79DC41C7F for ; Thu, 18 Jul 2024 07:06:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721286419; cv=none; b=hcjF3aM/Cm0Zqmni0kAu2nFKG/DgWFvPsK+WGy5mZ7j99+kRc5C5//dsobKwBl1aHMAKFDkKb+/8wZECFc7vA5l5iBltJJwSINzT2iq6Ma0DCldEQk46JimRcrIZuHWysoVjhV0F+OL+4r9Nm//+VZRhMFR56rUHPqVPrRs3MnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721286419; c=relaxed/simple; bh=Qq3i2sW8w05AixKZYKoZSlpUhcOw2mfyMiHUeKsomVA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bHRcHbr5GF3Oe0/w3a0nIClJVKKTRncYrQdkRo8b+nj2+IFYkPP+bQFBq7IkvQern7FmypQtAXtQLniv95gaRboSKq8kbwMqOG2GU0WeuydJ4S/rV9gDk5I0iS94zsMUlXVUwdCG/SqJUcgz4SEJ67/xkMcXh1J1HtKBj2X0h9g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b=GX60k3Ok; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b="GX60k3Ok" X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 46I76su463097212, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1721286414; bh=Qq3i2sW8w05AixKZYKoZSlpUhcOw2mfyMiHUeKsomVA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=GX60k3OkPSwnxG/0D/oqKeBJqkEq99NgieXxqOl80FrVO+DnrgEDvxuOI1C4ifltb w280y1qVajDXaGjsm+75EE1UXmNZeUECBNPxQneY0wcAFkJlzuvwEm3brxd67/a3Ab B6fmsTNrc0u3HS+jX+ye2XKDlvuI/1p1EkcctVPQTUc02tBvS/3EYpVpoAgMFUJQTe AMWCgbFTuDmYU3SkQzo7kiIBZ65GOLUklQfLMRCzOiDVvDgX+YHgshom26o8J8kXfJ b6yisffH1HUeXjPHJ5ok7j7a8IIkF4OI7rqMvS3iuUZAs7nKU6O7dg4lUtgDtg2I2Q DmnboynKSdjrA== Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/3.02/5.92) with ESMTPS id 46I76su463097212 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Jul 2024 15:06:54 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 18 Jul 2024 15:06:54 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Jul 2024 15:06:54 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 2/2] wifi: rtw89: select WANT_DEV_COREDUMP Date: Thu, 18 Jul 2024 15:06:16 +0800 Message-ID: <20240718070616.42217-2-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240718070616.42217-1-pkshih@realtek.com> References: <20240718070616.42217-1-pkshih@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) From: Zong-Zhe Yang We have invoked device coredump when fw crash. Should select WANT_DEV_COREDUMP by ourselves. Signed-off-by: Zong-Zhe Yang Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw89/Kconfig b/drivers/net/wireless/realtek/rtw89/Kconfig index 3c9f864805b1..6278fd74e98e 100644 --- a/drivers/net/wireless/realtek/rtw89/Kconfig +++ b/drivers/net/wireless/realtek/rtw89/Kconfig @@ -12,6 +12,7 @@ if RTW89 config RTW89_CORE tristate + select WANT_DEV_COREDUMP config RTW89_PCI tristate