From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796200009; b=nEZcn5hDnL3HweLCHjWRcCP83msb2WJBcl8bx0uPv2GFOmhTWtH0bYPLQWrFgIEUA4Ew t18XypRDmZ/gNgOCHVJm12qGl6Yvp6/q0KDwu6AoE/Mi01iszUWe4DL7a/x5dyfHWWRY8 69htTUU/u8dReQKJJ1RkeJhdEOGb+Ibf2G6RAaPtSEzmK49LZTjUdutfMUAQXlnN0AY7b 5aH+63ef+vcGjvXL4iDVZByJjJAKYPvA0RQrxceJTW82kGPOdCWEMKi1aGCNjYdINpnQb 6xYVROzXpuzpk3PcQC3lDXxD5Ilnv4e+CXW7hpVIC6ob0cw9l3yI4uyl2KJ1eJ6BEog== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200009; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=v53cJMmXfO2S1hfo3sv+ZxM90Y3OBJh7IFC3BVLVQDk=; b=iGQ3x1lPNtLnMXI13gij0tAV9ksF979dTL0RRMDKC58tmyd44NOvwkv7IlhU36OZhnsa WMouuGYhMX3NpRGe/N6tfNwdTvtBi4+Lq0lc+lNfI/sBf+XIxTH1+PLHV7zkvZFUOa+Mx /qMuZ++CUCxNg0IcwgS63MHzAQwuLGqJbIvBFI2YshreAN1P4V1MW0MZVJkY/IGu9wED8 SEFU9rij3mplB13gz0c8zXrdpW7sbArJHMV9fVWU56BiqMXM9L5wLRXJHeCLr8HJ5DMfU ErbZNEdstmJ91eUIfCuJnAOsPOfRhV5LRUhOQDZ8frimPwrCyX/KSqe73HB8+ShDbkA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=eAd3eVp+; arc=none smtp.remote-ip=211.75.126.72 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A18F606A31A for ; Wed, 2 Dec 2026 08:26:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9A18F606A31A 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=pass (2048-bit key, unprotected) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=eAd3eVp+ X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B28QeFD2816318, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796200000; bh=v53cJMmXfO2S1hfo3sv+ZxM90Y3OBJh7IFC3BVLVQDk=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=eAd3eVp+WCeH4VWKFrRomf53aP9PxiEbyChXaDbpMJ+ITSmtGS1QVTjlrkpCgBjaR xFT3wR0QCJpnHYjokpgJ5vNLvibCv2OauTOO+UDcwvLsKD4Y++O+i41nSy/Kk8Zm4q rSV3OY7bF5XxKvLaEyY8V4nEpdSrx2ptW4V5Qupwo2F1A3hHEJNCJIbkDmKW+YtTGt LaWnZUKDRrrSCXi2aK8+AllN3nowu84UPCUCy//UIZMWi4z4mHhg7xr4+fcim6xa+t +lr+CLq2+MfothDVGYLiZUJRHSG4kR/stpRITjHl3DuXCrZkBNMrCvxJW1ovXdu8Gn TdYgVlUHuimFg== Received: from mail.realtek.com (rtkexhmbs04.realtek.com.tw[10.21.1.54]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B28QeFD2816318 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Dec 2026 16:26:40 +0800 Received: from RTKEXHMBS05.realtek.com.tw (10.21.1.55) by RTKEXHMBS04.realtek.com.tw (10.21.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 16:26:32 +0800 Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS05.realtek.com.tw (10.21.1.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 16:26:31 +0800 Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Wed, 2 Dec 2026 16:26:31 +0800 From: Ping-Ke Shih To: rcfa CC: "linux-wireless@vger.kernel.org" , Zong-Zhe Yang Subject: RE: [PATCH rtw-next v2] wifi: rtw89: allocate rfe_data with kvzalloc Thread-Topic: [PATCH rtw-next v2] wifi: rtw89: allocate rfe_data with kvzalloc Thread-Index: AQHdgjYDCc2ZVt/Kf0aZcQnUe4XFhLdJaRuQ Date: Wed, 2 Dec 2026 08:26:31 +0000 Message-ID: <2fb8af9e279e46ffb5c1df69df6d96e6@realtek.com> References: <20261202081934.2897419-1-kernel@cubiculum.net> In-Reply-To: <20261202081934.2897419-1-kernel@cubiculum.net> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 rcfa wrote: > struct rtw89_rfe_data holds the TX power tables from the firmware > file's elements and is 1190784 bytes, so kzalloc() asks for an order-9 > (2 MiB) contiguous block. On a host that has been up for a while there > may be none, and probing a USB adapter that is plugged in then fails: >=20 > kworker/12:1: page allocation failure: order:9, mode:0x40dc0(GFP_KERNEL= |__GFP_ZERO|__GFP_COMP) > ... > failed to recognize firmware elements > failed to setup chip information > probe with driver rtw89_8922au_git failed with error -12 >=20 > Tested on an RTL8922AU (a USB 2 adapter). >=20 > Fixes: 5ee7b2ea07cc ("wifi: rtw89: load TX power related tables from FW e= lements") > Signed-off-by: rcfa Use your real name.