Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 355D6C32789 for ; Mon, 22 Aug 2022 07:27:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiHVH1O (ORCPT ); Mon, 22 Aug 2022 03:27:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiHVH1K (ORCPT ); Mon, 22 Aug 2022 03:27:10 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C67DF29CB0 for ; Mon, 22 Aug 2022 00:27:08 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 67DC122238; Mon, 22 Aug 2022 09:27:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1661153225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7Fnv7lKMoxLUBaQb/u2LrxfneQ+/pTsC5fGdEV8AbbA=; b=DVsqfPYqGX1+/RQReifjgfhP/XAbtRPwXa8vkTPIgFn/xsjOYCye7vhRglpabrl7LvRIgr KCip6Rwz2LzniJFbp9eoRT7FfWNvy9cJ6l+BooC/5XIkafzHslrxaQ97Wap9yi9X7AcpqM eayDiJIqKz7hfzY0XSsIOPk5lq3uyaw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Aug 2022 09:27:04 +0200 From: Michael Walle To: Kalle Valo Cc: Ajay.Kathat@microchip.com, linux-wireless@vger.kernel.org, Claudiu.Beznea@microchip.com, Sripad.Balwadgi@microchip.com, mwalle@kernel.org Subject: Re: [PATCH v3] wifi: wilc1000: fix DMA on stack objects In-Reply-To: <87k07fgz16.fsf@kernel.org> References: <20220809075749.62752-1-ajay.kathat@microchip.com> <87k07fgz16.fsf@kernel.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Kalle, Am 2022-08-11 06:55, schrieb Kalle Valo: > Michael Walle writes: > >> Am 2022-08-09 09:57, schrieb Ajay.Kathat@microchip.com: >>> Sometimes 'wilc_sdio_cmd53' is called with addresses pointing to an >>> object on the stack. Use dynamically allocated memory for cmd53 >>> instead >>> of stack address which is not DMA'able. >>> >>> Fixes: 5625f965d764 ("wilc1000: move wilc driver out of staging") >>> Reported-by: Michael Walle >>> Suggested-by: Michael Walle >>> Signed-off-by: Ajay Singh >> >> Thanks! >> >> Reviewed-by: Michael Walle >> Tested-by: Michael Walle > > Thanks Michael. My plan is to take this to the wireless tree, seems > important enough fix. Do you already have any plan, when you will pick this? -michael