Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8969407ybi; Tue, 23 Jul 2019 19:08:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVhNFKrD7ggsEwpvS0dpYCEqVxlv4NPSqiL5KK16qflshqnxwm2fJmkeHXp1OtK5bBxqLl X-Received: by 2002:a63:5d45:: with SMTP id o5mr80142843pgm.40.1563934127919; Tue, 23 Jul 2019 19:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563934127; cv=none; d=google.com; s=arc-20160816; b=yQd78VGHV5Ex6pv8DlhBqqYmGG1pd/Pq9iWSSMwOYPn3ZSih+niNccGQLP8et8uVUm xIS/d7dDHeizFMjSPipTHxzgDJGZcZoo4aAGLafyWq3TfKmUj3ba9WQ5O0kTKl5VWr1Q ebOhAiDzKw3PVpEcuFoeCZtHvCX//565SRJVjkuZfKf3Mbba48Q2R9Gk26+BpJvNfR1B OHHawcdED6pPzKNhYdgJgsGV5yg16sUQwqwcaZvY24jN7XlpxCRIsZ7cLXtvYOICIg7R WPCWQBNFYW04IZa1uSJ00XL/1aHSnbVXBaKVzltsf+VKYeQZupbYyB06HnwFLJ1sM+Ra qfLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:from:cc:to:subject :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=b41n3LREvvCVOT99upf2mTScwjCvonjOKLeOr7b3C5o=; b=maKCHrVPf2U67XHa9Uzbnk+GIkRdYnbqlang80MvdiTaEuWw06x8o0AX7y1eXEG9NV yggBzjB5aTFiBmiskUEWIZDrc3LTmnsSEswBwnOE8wEFu/XQprwvnuW8G07IgqoGqqDz 9TsVPoB8Qop6FEESGNKnfyHA5u44zCoMOm5cgclfFBbldMX9QAFhss//Qr3Fr2xrCBlm BKTdR7yRLyb7VNNkOda7Vaxwq80BI/tTFhNnC56i54+KcogoahQdMzmCZKdYEnz6VcSt BPeZDJQ2GwO4+1jn+r8NziD+adxyYqSfhpbtNul8j+Am5toVfaYHzfImyX4fzlmJTUdM urUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FV39AKdM; 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=pass (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 u62si12930013pjb.3.2019.07.23.19.08.31; Tue, 23 Jul 2019 19:08:47 -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=pass header.i=@chromium.org header.s=google header.b=FV39AKdM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391482AbfGWSYx (ORCPT + 99 others); Tue, 23 Jul 2019 14:24:53 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42403 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391475AbfGWSYw (ORCPT ); Tue, 23 Jul 2019 14:24:52 -0400 Received: by mail-pf1-f194.google.com with SMTP id q10so19544804pff.9 for ; Tue, 23 Jul 2019 11:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:subject:to:cc:from:user-agent:date; bh=b41n3LREvvCVOT99upf2mTScwjCvonjOKLeOr7b3C5o=; b=FV39AKdMDQeD6YqtoKQSMhCbjgrTyHJN60X0SWmNCD+O9p2bX6C8qYJz0eINu0Vkyf LAbFt2BoaV/5c012dA0FE9DnPmAfbtAoMuMuWTdOwtIgpVHXOPYq/wXTmyg0mmReH1eo bP8CKJ5kluT1kIqJojulM3Lhe452qac63uGtA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:subject:to:cc:from :user-agent:date; bh=b41n3LREvvCVOT99upf2mTScwjCvonjOKLeOr7b3C5o=; b=peMcRP+oFHolDJKZEom+ObVjy6S+NNzwY4YAQLBBf/BXu6DQn0Sh6EhQDgDUE4ydy8 QQ7uR9ULDjGapQuExkbowGX06eNJ02V2jwKRvOLJfG6b0aFo4R3F4GplaaxzY0/Ma/AT ftZuEZ5xf3V2CuVdaciYgFvagmUKfwp8p9cAESoLz2ZdwYCG1jhCyhtBjgknQAcJ95Xk xrEMFnhxqJjTwq1SLxx/Bxy9mxqo03kM/9nkhachmumUpsxBXTqVLA1c2HdwAjZzduKl 6gFWt0BywAzZn4/Z+sw+10hjpEjIPdEl7RoR1wcGGEpsnpT4x8YMJq3hr5QwXtXVkjMc nN7w== X-Gm-Message-State: APjAAAX6o+ueK4R5DIG1FUpthzC1McW6pTynCYk+hCBH+gHGCsQe+Van D2AB70xADzEM9eBf7QUKMuV12g== X-Received: by 2002:a17:90a:4f0e:: with SMTP id p14mr80829741pjh.40.1563906291568; Tue, 23 Jul 2019 11:24:51 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id t29sm53263348pfq.156.2019.07.23.11.24.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 23 Jul 2019 11:24:51 -0700 (PDT) Message-ID: <5d3750f3.1c69fb81.923dc.874d@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190722215340.3071-3-ilina@codeaurora.org> References: <20190722215340.3071-1-ilina@codeaurora.org> <20190722215340.3071-3-ilina@codeaurora.org> Subject: Re: [PATCH V2 3/4] drivers: qcom: rpmh: switch over from spinlock irq variants To: Lina Iyer , agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dianders@chromium.org, mkshah@codeaurora.org, "Raju P.L.S.S.S.N" , Lina Iyer From: Stephen Boyd User-Agent: alot/0.8.1 Date: Tue, 23 Jul 2019 11:24:50 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lina Iyer (2019-07-22 14:53:39) > From: "Raju P.L.S.S.S.N" >=20 > Switch over from using _irqsave/_irqrestore variants since we no longer > race with a lock from the interrupt handler. While we are at it, rename > the cache_lock to just lock to allow use of the lock to synchronize > controller access. Is there a reason why it can't be a mutex now? >=20 > Signed-off-by: Raju P.L.S.S.S.N > Signed-off-by: Lina Iyer