Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4915784imm; Wed, 30 May 2018 14:49:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIl5iWakvjpR8PJHEk2yt9kp+Yzn8oCvQthPXsJvfhhdXxRAyPJCqOcAHg/ps12XBIboch4 X-Received: by 2002:a62:4141:: with SMTP id o62-v6mr4272809pfa.111.1527716996648; Wed, 30 May 2018 14:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527716996; cv=none; d=google.com; s=arc-20160816; b=aZbR028cWq3LQiNui+UGZoDk3/TYJF1zM661yw1gQOJ1Bfkordb2eK5hdli27zyxaH URBJAmBT8GujH9GqPdJE7Eaay4iOUi/IFxjhMv/eqRzMgqcBjHndT9XovCrbH3OvtKYM FfKI99sYJpQSm6sj8ppQDhZonM7wjLc+lK5uNN9NUkcD6kqiGYtT3kkchIPqEhf9cQGY x2ZoKPH5FW5hVx1Twgyf1IIz/1QB68h2NQcEp7tudiqnY7rrNnYDacr7IOaBA/BQEZAF JHzDSfJc7ejHC0yoVZbokk6GeXTp+p5cAvf8MBDFaLm3MtRLElDMa4EhG0njSIYw5fx5 clIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=G8kW8v/pXuW8v1vzMB2R3dj9ORL19Vipkd4I3UeOUfA=; b=sJEYG/Igs+nuCxqRWtlJ9YdXmTIJsthBxwY9tfL81y5WBkaQjK1Ralh+L3wvbDdtKD bR8PrynpfShRiUICEWZ5sx1rR3iVytZN8LOvtXwzwvqPTG7M0VlA6NsfeIOGzfEj/CeX F6cr+Hq5iIzLYw5Iggn72gwjxyY/0663ms9/lf1B//B4WJo4LaTMXSmSSuPzsyg6xbOt CNUugRKU7gSqurIXMK+8K2w+dQQUVKaH0PFVjwuO8UWvYiUUakT7PlX1gz6KP2h6G49d hP7ZRiUEJCQt4ciLqN7Owe9zJsQ8RjGPMIF15ACyuf0K3u9+P1bCkuIxAOeilYNCA+l+ PJ+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=aklALLRT; dkim=fail header.i=@chromium.org header.s=google header.b=fuwzqq8d; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7-v6si35505365plc.179.2018.05.30.14.49.42; Wed, 30 May 2018 14:49:56 -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=fail header.i=@google.com header.s=20161025 header.b=aklALLRT; dkim=fail header.i=@chromium.org header.s=google header.b=fuwzqq8d; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932545AbeE3Vs4 (ORCPT + 99 others); Wed, 30 May 2018 17:48:56 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:35311 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932466AbeE3Vsy (ORCPT ); Wed, 30 May 2018 17:48:54 -0400 Received: by mail-vk0-f65.google.com with SMTP id g72-v6so12075199vke.2 for ; Wed, 30 May 2018 14:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=G8kW8v/pXuW8v1vzMB2R3dj9ORL19Vipkd4I3UeOUfA=; b=aklALLRT5YAL9Pc21Dq3sJdI9SaJi1aEJQkIahI8/ky3JmRXMZoQ/K4GnCBk8sP2l1 oQ+/KPc2grICnXbwX3ClqnJLU5eoVUpb+AV8i7NwmEp46Ie+kZCJOXKEkTN7R0IykjYk Ow3x8lWs/c5eaYcPdLpBwlgotjdaNLwAAM3K+uOBrCEn91CvSJz2o5sJ382LwkbjBz8b fuJVdGr4kFE1jkHhZ8r3JUCafNTiXKGUup8uQzTg5JU7ovF023E1tzw8wvRc4jD2vV16 FgAuSC3F3Avu55kcY7KwxCsoGxAGY2j7S7Z+bTH+pmvSrV+ErMzUKgLLtjsPcvLUF0Lg bKVA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=G8kW8v/pXuW8v1vzMB2R3dj9ORL19Vipkd4I3UeOUfA=; b=fuwzqq8dBT8Ea+L4PxEFwcqphdiNAYNO94Sebx5kQMrFLjQhaIUgcL6c9JjjuZ7+xz yCKGReli/JDQgt6avZiVZ6QcKNxhHWZNBnyzg0OAz8wtljPEkNEIXMtNaye6Gb5+cf48 W74+RchViB9Ud9smq2RaxCENR3FqfMCxlFVs0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=G8kW8v/pXuW8v1vzMB2R3dj9ORL19Vipkd4I3UeOUfA=; b=IpcEIjNJ26Pr/Ga8ibv8eq/xQSYLISEfJQgitxxwKyLUcze+hBnbHckKJq5zBJ05Xj Hj5+NxXQzJasIPnKsaP/Bi9LI7fAuE6qXnNd6HBzLWOmuyFd6oNBiKhCuZqXusgWvL9H RXU+cDSlJqTUbN86a+Fopt35WxMZzAfsnxxNudEU/J4dLuX7eqN3v57DHo1zqwlj2fMz e01i6Jz5010ir6o+uUkQsGD2D5sw7/LzEG2v0GVOg2n9ocupPVO4rXnmqKzhCgHMO9To LroC65DzFO3SF1eUJLAP5k2T7cFj1xikYxP38K1RIGVctzk+k8maIileubUA077760Ft 1jbg== X-Gm-Message-State: ALKqPwdfly42gkw0J0wq4INoZfy7Pkzh1gzO7AxF4LRmL5QsS7ZioCID 2dG00aAF5LDO7VTtSF4Dz5/hdR+g/HS95ymfN1Q03g== X-Received: by 2002:a1f:3a15:: with SMTP id h21-v6mr2678712vka.93.1527716932924; Wed, 30 May 2018 14:48:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:3052:0:0:0:0:0 with HTTP; Wed, 30 May 2018 14:48:51 -0700 (PDT) In-Reply-To: References: <20180509170159.29682-1-ilina@codeaurora.org> <20180509170159.29682-10-ilina@codeaurora.org> From: Doug Anderson Date: Wed, 30 May 2018 14:48:51 -0700 X-Google-Sender-Auth: FT_IA3PxpCwFcNYkQ5igvyvcGEA Message-ID: Subject: Re: [PATCH v8 09/10] drivers: qcom: rpmh: add support for batch RPMH request To: Raju P L S S S N Cc: Lina Iyer , Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, "open list:ARM/QUALCOMM SUPPORT" , Rajendra Nayak , msivasub@codeaurora.org, mkshah@codeaurora.org, Bjorn Andersson , LKML , Stephen Boyd , Evan Green , Matthias Kaehlcke Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, May 23, 2018 at 6:27 AM, Raju P L S S S N wrote: >>> + break; >> >> >> "break" seems wrong here. You'll end up waiting for the completion, >> then I guess timing out, then returning -ETIMEDOUT? > > > As the loop above break runs for remaining count, completion will be > notified so there will not be waiting. Ah, I see. I missed that. ...oh, I guess you need to wait because any requests you might have made will try to signal your completion which is on the stack...