From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754046AbbJaByF (ORCPT ); Fri, 30 Oct 2015 21:54:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57453 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753504AbbJaBxv (ORCPT ); Fri, 30 Oct 2015 21:53:51 -0400 Subject: Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver To: Arnd Bergmann References: <1446174501-8870-1-git-send-email-okaya@codeaurora.org> <5741892.rRLhcI7KQG@wuerfel> <5633E442.3010003@codeaurora.org> <4552697.VhjWnxQoIo@wuerfel> Cc: dmaengine@vger.kernel.org, timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinod Koul , Dan Williams , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Sinan Kaya Message-ID: <56341F1B.4090200@codeaurora.org> Date: Fri, 30 Oct 2015 21:53:31 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <4552697.VhjWnxQoIo@wuerfel> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/2015 6:28 PM, Arnd Bergmann wrote: > I missed that part. If the descriptor count is a hardware feature, > just make that property mandatory. OTOH, if this is an optimization > setting, better drop that property entirely. I'm going to make this a module parameter instead and get rid of the constant. The reason, I have this default parameter today is that QEMU does not support passing device tree arguments for platform devices. QEMU allows you to set memory and interrupt resources only for platform devices. At least now, I can pass the argument via command line before starting QEMU. I'll put checks that the value needs to come from either DTS/ACPI/command line. -- Sinan Kaya Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project