Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5492709pxu; Thu, 22 Oct 2020 03:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9vuRbHccfTPeeiYYMKmF4weMV4bbv876CvkTI9F4K5YFp7qO+kE2+eRaL5qvE+YUuHjM4 X-Received: by 2002:a17:906:f11a:: with SMTP id gv26mr1577801ejb.13.1603364368262; Thu, 22 Oct 2020 03:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603364368; cv=none; d=google.com; s=arc-20160816; b=eP1KJM/0/VwDzAhJKHRgmnALgvqACxLzE41vWN47FpSyZg6+0r2Hka2Ejfo7/bazs9 e+3LdsnzhRejSdb2Y/AkhPxI0tBPq5kBmwUk26yEcPO/CKoe92K40Ngun9+veyzaX4xS y/LCwHIZsPNqLJoccTjK9RgV5YGhJL0aljRwUX7xKy3JjQA9FnDcuijqzPg1OBPXmT/S qlSuvJiZg68CycuYqIsGdu97ccIF8FOpl/yuMgIkQoDWwpl+G/pWv+N9I5xZQmj767dY 86QwrqXCTvkl2R8KoCk33lcgHiUNqhxnmyw7eaMdi2n9rOR85Gu46aXF3yYHX7dLXW1G it7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3M1GR8sUu5p1axYViJdkD29z5g+AeYis/SFIbV+Ug74=; b=dFAOeTDwKHPJxMn6AbmpKa6UlDV/jqE3H+jKRj/X8MosX71VGikBYpOFObxMRPL3Qm orIm/PQw8gQSmspJ0xaBiEOLbvweRQu3O1IvyIet85Xu8FIObT5uR9V3qJL/dLW5F6xq Y/VqZf/QdvKu07sVSy87tswX+3tWmJddfHvwujgCrXey4Oz/ejgQEPcDpPSyCVx8l/7E 6zaf2ZxNgMx4b8ZGgriFIi8iR8uv/O8YTQB8SCo3Woe273YvY+k1sc3oqSRwZccO/8q9 uy9gCkERDjix8uPVSoKRTx19kZazwNqsVvjkTOMgClJW0grRCnJLAkCmo374M6H2tNNO ZccQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tZ1PR0/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r19si675192ejr.323.2020.10.22.03.59.06; Thu, 22 Oct 2020 03:59:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tZ1PR0/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437777AbgJUQZs (ORCPT + 99 others); Wed, 21 Oct 2020 12:25:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390908AbgJUQZs (ORCPT ); Wed, 21 Oct 2020 12:25:48 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D131C0613CF for ; Wed, 21 Oct 2020 09:25:48 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id bf6so1475752plb.4 for ; Wed, 21 Oct 2020 09:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3M1GR8sUu5p1axYViJdkD29z5g+AeYis/SFIbV+Ug74=; b=tZ1PR0/WUzPGelPeF19E7iaQH9Pxb3HEPFvr8uhRQt+L4y60aoHEu5tbEDA2lsmiV+ 9oLuvGHewe2SpNfQXlyIgFIUjNJbONk6Vk2A5TUM3LRJ30zE6wuEYK0Xq3YBjqexhMs+ QHIbix3sqd4tCDgyOFiE2y4HjeeNopBYgU0RXWdF0I58S3c9pSaQW5UrLY7C80DhjgvP U8nFUAxuA+Pjqv8o825M5u3oQ7n/vaRlTltcMpAJDR4FPKt5Gox2NHw2K1yTHZDFLmFV +ErjQp1rDk+4bzuTV1uziNoTzJq1b4bMzWYy8lPT8tpcsWzkzB17hXv71/wCTr8UzwRZ 1xnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3M1GR8sUu5p1axYViJdkD29z5g+AeYis/SFIbV+Ug74=; b=P896HvabK8NVDUdbRvKuSkZOKweJBKLfKAC9oe9ps+47su8sMCZPdY3apY0d9Xdwc2 ModxoG1BxNm3ihyqHYKIcZ29tBJ7OA2hoWLoInR2oS8MgNHGUGmGQavsiCLulAiz3qLR Q9NkT2g9qnO9rqhgdxhsiSeNLcJuTuFVqTyTguk5Ip+1ljr9GZoPbPgZ1YgTCIhVvnep d2cid2Q6ShLCzhfD9rmzgnJgka571/MhrZEG/e4m6tpw0rR7lJinIcp0YYabhP0VoUfS XhBcFrD8n7YaLuH50bKErg8txmD5+lSDYpRqeS/aB1ixWA2Hh240kVhMhizNo10ZyTKm /a9A== X-Gm-Message-State: AOAM531KIz0rbaPYrD7AWtTybWLdo448wujDzqxqKW9qBZSXl+xnLhiu 61kOeVs8WFmq7xvxcCqL+xSyD2iwS7t6 X-Received: by 2002:a17:902:ec05:b029:d2:ab3c:dc4f with SMTP id l5-20020a170902ec05b02900d2ab3cdc4fmr4398259pld.81.1603297548004; Wed, 21 Oct 2020 09:25:48 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:70e:2a27:314a:6d22:ec47:a603]) by smtp.gmail.com with ESMTPSA id m3sm2449297pfk.23.2020.10.21.09.25.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Oct 2020 09:25:47 -0700 (PDT) Date: Wed, 21 Oct 2020 21:55:40 +0530 From: Manivannan Sadhasivam To: Loic Poulain Cc: Hemant Kumar , Greg Kroah-Hartman , linux-arm-msm , open list , Jeffrey Hugo , Bhaumik Bhatt Subject: Re: [PATCH v7 1/4] bus: mhi: core: Add helper API to return number of free TREs Message-ID: <20201021162540.GG3334@Mani-XPS-13-9360> References: <1602907457-13680-1-git-send-email-hemantk@codeaurora.org> <1602907457-13680-2-git-send-email-hemantk@codeaurora.org> <20201021152714.GD3334@Mani-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2020 at 05:43:14PM +0200, Loic Poulain wrote: > On Wed, 21 Oct 2020 at 17:27, Manivannan Sadhasivam < > manivannan.sadhasivam@linaro.org> wrote: > > > On Fri, Oct 16, 2020 at 09:04:14PM -0700, Hemant Kumar wrote: > > > Introduce mhi_get_free_desc_count() API to return number > > > > Would it not be a good idea to have naming aligned with other methods? > Like mhi_queue_num_free() or mhi_queue_no_free_elem... > 'queue_num_free' doesn't sound like getting the number of available descriptors... Thanks, Mani > Loic