Received: by 10.213.65.68 with SMTP id h4csp3178716imn; Mon, 9 Apr 2018 15:54:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx49bMKJE2F7ymQPUAiSO6Ktc1uPgGKecnC0Q2j8zJEfpDyhOt4uXoDEjOy4HgeOIewZ4ndEi X-Received: by 10.101.73.2 with SMTP id p2mr25638457pgs.397.1523314450415; Mon, 09 Apr 2018 15:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523314450; cv=none; d=google.com; s=arc-20160816; b=XF7/zuEUrj8hq2F91a8ccBHk1YU0wn0L/yIdULsmg8Rf3sk7EDwXS4H8U2mulRTTxT qBM+hWvc7jfd53IP8qK20lET3KW4x3T7AOZPWBOwkM1SyAEB6Pk2HpllOvgSmtOK3EHX k1L7qwiaLzlC+UAROX08Zb1BMuwCGPLCHdia/5tXpO84E5zqJQecle/ry/SxaEm97259 B+AKH5bu6WL8d0479wVqw1J7BJ59/TZxLCfTIZM3SSDtwX7dc92zN1iyEyR5B89eWD+e zxRgLK9Dx31loV0uUL9p9uj8RQhal7X5Gfz4WhgOb08xDuz5Tz1MigpAZRN1tyi1cwjL mqow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=gEgzNzCjMDXeEVFZGAmtmmP8nbzjoMD1Urh9c9PtS94=; b=TORlXjrWfsyKOyragZm/v0bQT5FLegQxDAOOzG6fMp18OIrg1zaH6VJ1x5ThG46KJh NwegOrJmmIrUdPLGhmxSIGVtXbmvsbRu2MRlCz2ZVe/lCp7PTopT4j7abl2iLupHFWCM crzYMsitKzTUFiIcNSl+B4GsyJXHINrNGI9OrLNOY6bE5aSKZRqFCxBSLDOOxilnUl2E xjrz0Zpwb5QiiitnIwfUfuO9GZimQ/HmAb+X9mwBGOOkd0SnrrRMwHuTQdKYw7yv7UUZ 23s7EI8lBCQpasmHBwTMkppGoRd+/BOLD7giNYNR8/zabH0ErnB6BPamDWbxhgWmnqsI PlFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GbH8jBjt; dkim=pass header.i=@codeaurora.org header.s=default header.b=B40lk+un; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si1234195ple.629.2018.04.09.15.53.21; Mon, 09 Apr 2018 15:54:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GbH8jBjt; dkim=pass header.i=@codeaurora.org header.s=default header.b=B40lk+un; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752453AbeDIWsU (ORCPT + 99 others); Mon, 9 Apr 2018 18:48:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41536 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbeDIWsQ (ORCPT ); Mon, 9 Apr 2018 18:48:16 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 67EE160AFB; Mon, 9 Apr 2018 22:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523314096; bh=L9RTUtGA8UU0AbGMQsnz5It6UNyWNYiYC0+Dyz0dA6Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GbH8jBjt34jRfXX4Vup8SMkdZXUeQxC4rP1U1b6oruY5XjsRV6nHJbYNclI84yiSW ew/Blb49RN05BxXPcSGIsnFKeb3lAQP51gG90dE32QXtZCzgs1XJIPjm+mjgf3rJ/z bA9EypLZ0vqn4rmQNl+wlYndJe0YjYOVjTEnDtHw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.235.228.150] (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 32B2360AFB; Mon, 9 Apr 2018 22:48:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523314095; bh=L9RTUtGA8UU0AbGMQsnz5It6UNyWNYiYC0+Dyz0dA6Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=B40lk+unDddLxtvzFbmxTtbroKpxYiKSv1ZHW4Kn2JqlkwDimyy6BrWrCZHSqfZNs A/fMlgb2ZhoSqW2xDIgVipPK9WYwGLZ4qZA2CvUHuNXEV3H99PSoFIkGzuj7IfvKo7 8sQlRfPtYU+lK4llxAOMugdwjb3kq5PnSapK3eD8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 32B2360AFB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH] dmaengine: dmatest: Remove use of VLAs To: Laura Abbott , Vinod Koul , Dan Williams Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Kees Cook References: <20180409210603.3575-1-labbott@redhat.com> From: Sinan Kaya Message-ID: <4491bde2-cf38-5103-0634-1986ecd32a7c@codeaurora.org> Date: Mon, 9 Apr 2018 18:48:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180409210603.3575-1-labbott@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/9/2018 5:06 PM, Laura Abbott wrote: > + /* dst_cnt can't be more than u8 */ > + dma_addr_t dma_pq[255]; This is 2k stack space on 64 bit architectures. Isn't that a lot? -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.