Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp867300pxu; Wed, 6 Jan 2021 06:36:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEwOtuq8raCN80gVXxMDQzgV4dcViEfmBjW6sXlCRLDctl0BzN+4/CjZNYJ6Fc63LmlYqb X-Received: by 2002:a17:906:924a:: with SMTP id c10mr2971874ejx.113.1609943775924; Wed, 06 Jan 2021 06:36:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609943775; cv=none; d=google.com; s=arc-20160816; b=S8vlxc4e8IFQa4CnggwK8wLnWHFh8grS/fFLJFiZ+nIBRLX5R/WM0IHVRNlR6NrJlS hbm9zuwr0q2qFjcBHtHOkk9qBfnTaNH5HxXgT5bdZgnSXKHy+uOb+r0o8B1qST7MRY/1 Qj47IvF1x2+d6jlKa1Sb0O+Wqi5Gq1VKGiB5SFlCgptam5NgYN8wM0epc26IjEYcr5Ik woM4dCoOIxTHgeQgLOpXkixjNMs2HEOiEI0wYj0Gf/VB7xYpyXTQx0KAfhirHzFyoW75 lDwFNi4V9vA/kM++SQ7odAD4lvAfxjr9D8aQmLNc0ySLCpJpBQG1+XKLJ/dIxVSP6TME P9Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xG+Aig3uaRFj6+3S+rLCMgLtTBzVQJurKYaoHP2i+Ww=; b=fCHwBSUMgzBFAhtDW95XPtlblyAmiOib67E2VKuq/ecWTes+FQUnV6GhttIe7wel9i 4AfrSDdxYsY8EQT7XLPdd+FeEEvTgpjGmJkdZnTa+9zAtNEbZDWtw/tFCvMNZJChvgUJ RG6aCNZOCToU+MLhEy79Rw+ZMbJk+yTaSJk5CVUkRBgmBEqqBkPm04hzsLEi2r1WVWm1 UMnpHY12RLVJZpIGf/tLYYvWmATFOi5R3arWXsylcYwER+u+SpIaA/XvnfCOV/ONXELz EmA4TvxkvodRbZBQUFmv9b8xYy9gf4uYrZIKrgwST9DPa8oJyZ8fFAR0xIpIevoiQKNz nGkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NzFc+bZV; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o24si943467ejm.674.2021.01.06.06.35.48; Wed, 06 Jan 2021 06:36:15 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=NzFc+bZV; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbhAFOet (ORCPT + 99 others); Wed, 6 Jan 2021 09:34:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbhAFOet (ORCPT ); Wed, 6 Jan 2021 09:34:49 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDFCDC06134D for ; Wed, 6 Jan 2021 06:34:08 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id hk16so1672048pjb.4 for ; Wed, 06 Jan 2021 06:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xG+Aig3uaRFj6+3S+rLCMgLtTBzVQJurKYaoHP2i+Ww=; b=NzFc+bZV1qpPy6j4yIBaInX0XaTSlqt6raRR72ykm+Ui4w4dewN1vyAfI2pS7RFWIK ETJiVrhHsZa/hhSfQm9JsW9mcwsk5mO2WAr0diNkOuk64EOtEaW+N2CtBWNA0bqtVKeo 0kMZDWN9JS4ROKqiZRoTXo5ldadEB+osKmYP7xrlwMLjJCx8SpmodoWmDK0rMqUlYvC5 Pycmd6UcRK5XhOU0LvKnLKqy+fo3jMFLTDwZgydywxZUj0JwpON6e+egZ3C7WqfHyQZH 6khGzZ/7iI4jsWXgJgwAErdGlKDb31H5yaa2UejmST+LUW+zQ3d2bArPgjaH2L8HAP6x qyFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xG+Aig3uaRFj6+3S+rLCMgLtTBzVQJurKYaoHP2i+Ww=; b=BYVi1Rj5cl2TaRCdSG4dBvmta9k/sonUCyGq+PhFpcGup7foMfxdS76dxbLr8Br4gY /SGR1qwAhDxu3IZTWHHgq+0wiBswAHmc1z0DfKWauDolHNiMxe0zkLV8NZihzbH8qy22 wPpL7ObDE0yIhe6GzgvbWLCmUQqNWKk3xca6dg0VkZeDqrUvSzU3v+gXxxomGZtVnZk+ LjvOmEhv4M37RAlxczXNAXYDR6yxUXm7k4NiCPgu950Y3nW8NA5pvGPjeWqoZxMbrlYu ExpOSNgDMh1s5vmDg+SZI039TZwP1i8998wkTVxQGp1wC8QTpHE73dFHXi2Qxse/6PJA zDLA== X-Gm-Message-State: AOAM532ejtk19tCKjkRNX6EV+qDsvPBxEWYkb1PLy0DYgPLoHCJhRJlj bQXiYkHoU3YcgxRjpbo46OwnSKqAwYIj7GEAQfs= X-Received: by 2002:a17:90a:49c5:: with SMTP id l5mr4603955pjm.116.1609943648576; Wed, 06 Jan 2021 06:34:08 -0800 (PST) MIME-Version: 1.0 References: <20210106093053.tnlncqvcba7qnwnk@bogus> In-Reply-To: <20210106093053.tnlncqvcba7qnwnk@bogus> From: Jim Quinlan Date: Wed, 6 Jan 2021 09:33:57 -0500 Message-ID: Subject: Re: [PATCH v4 2/2] firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt To: Sudeep Holla Cc: Jim Quinlan , Florian Fainelli , bcm-kernel-feedback-list , "open list:SYSTEM CONTROL & POWER/MANAGEMENT INTERFACE Mes..." , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 6, 2021 at 4:30 AM Sudeep Holla wrote: > > On Tue, Jan 05, 2021 at 01:32:49PM -0500, Jim Quinlan wrote: > > [...] > > > > > I don't think that is the case; the bottom routine, > > do_wait_for_common(), decrements the x->done after a completion (which > > does an increment). Regardless, I think it is prudent to add the > > reinit patch you've provided below. > > > > Ah right, but I will add that. > > > BTW, one thing I could have done was incorporate the timeout value but > > I thought that since this is the "fast" call we shouldn't be timing > > out at all. > > > > Agreed, we can add it later. However it is not related to fast call, it is > more for protection against failure of delivery of interrupt from the platform > or any firmware responsible IMO. > > > > This electronic communication and the information and any files > > > transmitted with it, or attached to it, are confidential and are intended > > > solely for the use of the individual or entity to whom it is addressed and > > > may contain information that is confidential, legally privileged, > > > protected by privacy laws, or otherwise restricted from disclosure to > > > anyone else. If you are not the intended recipient or the person > > > responsible for delivering the e-mail to the intended recipient, you are > > > hereby notified that any use, copying, distributing, dissemination, > > > forwarding, printing, or copying of this e-mail is strictly prohibited. If > > > you received this e-mail in error, please return the e-mail to the sender, > > > delete it from your computer, and destroy any printed copy of it. > > I am assuming this was unintentional and ignoring. If not disregard my > response. Otherwise you may need to fix your mail server. Hi Sudeep, Yes please ignore the above legalize in my email -- our company is attaching this text to all outgoing emails. We are working on a general solution. Regards, Jim Quinlan Broadcom STB > > -- > Regards, > Sudeep