Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2452160ybh; Fri, 24 Jul 2020 13:14:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyANFih5VHspK4J591LX9kUESE08+inl4K+AIJYWsQKGWE36P5GadIt7d5SmGPdpt7lxxdz X-Received: by 2002:a17:906:f907:: with SMTP id lc7mr11267203ejb.143.1595621654397; Fri, 24 Jul 2020 13:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595621654; cv=none; d=google.com; s=arc-20160816; b=f0LIdFQ5K/dDMQAizPGx1v6U4DGKZJ0Sf+sg3WFFtpznbOHgSYxp80Y/RhELzc7wH5 8qgzo5jn41Hms5EqyCpwTVMomMlaH5JmCwaty3Y59t2/6joELE3VuXkx/cbREwsbgwuB 9EbYmYFnix4rND3dMtwwc2WTSmwxFRjfWinZFJmmh7/jFFNU2EA1FYj/AM2ur1W1OrMc lYgIE+LyZsfFNLukZCs4lSwKDDjjgvocEB3+rajL8Jlq6KCxRsXaPfH6VGTNNrjvGT2g k7zZV7t36LRUU/WN2asaFYUJmam6bJfHrtp2rNgTv76kbFOLjdNe6foLFS21lOEdjh01 Zmpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=bs1aX7lFDIpMImaAa30odJrsbjxTgzOIzVfQ0iVdnGU=; b=UApmyAOqnT/IZalMefaRHEFjQkFqqfZCKAHV8cPDiyvo3s5kZ0kh9W0C8oAqGBzWkM aeqadCjrJcI2Bmk4InhLJZbt+p1Uzlqzg82TAQuY2eyJHS7iTIfr3cwlfhn7HsdMD/zx i3zXyfZZIw6Dht/losfruXi6wc9jqp5ufS3RpOjvmkEMZ/hjd0f8Db757hDx5ANQEFsR j4j2mmGoGRFBHlQ0VitPVVfY7MnLyEtgZPdIBq0ZaDsl0UfXYsFkqcDvBC+XsLwTg3kx ntoWBy1UEc6bEgXu+kAy1wOS7ImhWmTdZS5XKLmg60LK/pXZRC5Ci26IY6wCe43N7KAn lXDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="UJR6Qi/G"; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si1161831edy.88.2020.07.24.13.13.51; Fri, 24 Jul 2020 13:14:14 -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=@chromium.org header.s=google header.b="UJR6Qi/G"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726686AbgGXULd (ORCPT + 99 others); Fri, 24 Jul 2020 16:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbgGXULc (ORCPT ); Fri, 24 Jul 2020 16:11:32 -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 93A98C0619E4 for ; Fri, 24 Jul 2020 13:11:32 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id 72so5159862ple.0 for ; Fri, 24 Jul 2020 13:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=bs1aX7lFDIpMImaAa30odJrsbjxTgzOIzVfQ0iVdnGU=; b=UJR6Qi/G0RCAPylYoDDP6ro7bWAdTsABFrM3DQu2TYtYADCQM3+wMQOYOur6BiKfxI bz8Cm2Gl6vTqsY20UHa0PjMh41cQMPEmqpLhfM5zKlFQT2AeYPzNW8zw8B50s1vQKxEZ SQLAwaNPwcAMq0O25XJs8rNeS7i2mSR99Zszs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=bs1aX7lFDIpMImaAa30odJrsbjxTgzOIzVfQ0iVdnGU=; b=Vg0dIetfjbGUm+2PpoCNZCvIjHqfe+8+bOomM4fZHb2dDLKJqAU3SkttORq8Wd+foU 4FCD+u++nxzRceTT1ZHU63l2lquncEPOx4knVtW0vIgmWQxGikFY1USxRGMHLPmVDMTn FN7Op4wADw1JATpXR2BWNNcgrfusLEH1o3X66khkQNgNDyXxNXtPRvR1YZL9ccxV24tb 97DWJ7BouB4A7iYyvdKOvytK9GeevOEyyzz8GTmIIAcRWsC55VonuGCzQFgp2O0/yqqS y3oZR1j/hKyOyldryktR2cqw0UThNauLJYMh/SBFYPpS2xBZXmU+SgRNFRWjsB5tQYQD e4uQ== X-Gm-Message-State: AOAM531uerujZ880cCv//seGwAPywT9cVWxMZ20TA0AhK620SBvz7Arv BZqA7bGDo/cG5llffQRx4AwCxg== X-Received: by 2002:a17:902:7605:: with SMTP id k5mr3645859pll.331.1595621492121; Fri, 24 Jul 2020 13:11:32 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id a17sm7038876pgw.60.2020.07.24.13.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 13:11:31 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200724200841.GJ9185@codeaurora.org> References: <20200723010137.3127584-1-swboyd@chromium.org> <159561988523.3847286.14763422711224252201@swboyd.mtv.corp.google.com> <159562087212.3847286.9484527206999948907@swboyd.mtv.corp.google.com> <20200724200841.GJ9185@codeaurora.org> Subject: Re: [PATCH] soc: qcom: rpmh-rsc: Sleep waiting for tcs slots to be free From: Stephen Boyd Cc: Doug Anderson , Andy Gross , Bjorn Andersson , LKML , linux-arm-msm , Maulik Shah To: Lina Iyer Date: Fri, 24 Jul 2020 13:11:30 -0700 Message-ID: <159562149056.3847286.11191144133990578500@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lina Iyer (2020-07-24 13:08:41) > On Fri, Jul 24 2020 at 14:01 -0600, Stephen Boyd wrote: > >Quoting Doug Anderson (2020-07-24 12:49:56) > >> Hi, > >> > >> On Fri, Jul 24, 2020 at 12:44 PM Stephen Boyd wr= ote: > >I think Lina was alluding to this earlier in this > >thread. > I was thinking more of threaded irq handler than a kthread to post the > requests. We went away from post-thread approach a few years ago. >=20 Ok, got it. Why was the kthread approach abandoned?