From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 85A52400E09; Mon, 6 Jul 2026 08:44:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783327469; cv=none; b=oPtxBTNh9sJMyf6Mxbl0h4HgxVf/8zjuAzah/rud1Mt/4XjNvl5VKJV9XbhhZyZ52YDwBvMkOTSSLPDEhQ3smIS0JKyQOrZt32Ns/8NWBrMEwZuU7Muk4f0vjAKtIsd6lzUreOZrfdsRFSMCacMD/N5EpvvDWF4sQxjiL5dTKao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783327469; c=relaxed/simple; bh=1n/RyvXa/XOQGkNV/CMCDrtaZ6yiUuhtqlEng7BfU3k=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=qqeFHlqBKVyvpfe5cxs5yK0anF0vxGLiktNftLBXrRYtgy1SO91Wwx8Fh4AG7+2aadQcmynMFw0QYri1ipbVkGK+TVFaGsbnYxzhhCjUaLFV2sdw4iwtgubU6b7vJcW7OforcAiCuO8VHXnrYnamiy/CGSig1l3Rj9O39L0u06o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net; spf=none smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=w16OV5Is; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="w16OV5Is" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=1n/RyvXa/XOQGkNV/CMCDrtaZ6yiUuhtqlEng7BfU3k=; t=1783327464; x=1784537064; b=w16OV5IsnRsjjbgyEc27kdzt6lZ6q8nNJ8NOYDGFWUH+mQk hMNhUCy0WtZ7lX7aozWUPEvryFLqxNbfxwrKYJk7GI5KiauGIY8GZS8zJz8q//i+PfCKRKW37AYXu WuDYfd5xA60Sa303ycY4uAS9JBkg5Gk+/9zRBf0Ji9cssbkMcr1AXTL8Ndbukc7POxbzuXcrltVqy 7Oucg6talmR1cbIncAcdhKXsozjEN00zHZ0U21WeAEh57pnu/QTrepZ4CXcYJ3Djf8wVCn8kCk2dd dd6bZTnvfJnq2s/AZ4VIbrtvOuCZD3gk/z/5K2jws634ssjPc4nZWxyJ//N3xmPQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256) (Exim 4.98.2) (envelope-from ) id 1wgevy-0000000CfyZ-3L4C; Mon, 06 Jul 2026 10:44:11 +0200 Message-ID: Subject: Re: [PATCH wireless-next v2 06/31] wifi: mm81x: add core.h From: Johannes Berg To: Lachlan Hodges Cc: Dan Callaghan , Arien Judge , ayman.grais@morsemicro.com, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 06 Jul 2026 10:44:09 +0200 In-Reply-To: (sfid-20260622_081024_838436_4A85067B) References: <20260430045615.334669-1-lachlan.hodges@morsemicro.com> <20260430045615.334669-7-lachlan.hodges@morsemicro.com> (sfid-20260622_081024_838436_4A85067B) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned Hi, Sorry for the delay. You probably already decided, but FWIW > since the kernel (AFAICT) only has a single host endian structure. > However I am a bit cautious about redefining elf sections here since > I cannot find much precedent in the tree. it does mean we don't need > to use __force. Of course we could also do what you wrote above and > convert in-place using __force to the host endian struct. Do you have > any preferences here? I don't really, though I'd probably try to capture this in as little code as possible, perhaps a single conversion function. > Seems most wireless drivers have much simpler > TLV followed by blob firmware loaders. Indeed, why bother with anything more complex if you get to define it, but maybe you don't get to define it. johannes