Received: by 10.223.176.46 with SMTP id f43csp3928889wra; Tue, 23 Jan 2018 01:13:40 -0800 (PST) X-Google-Smtp-Source: AH8x2244uNX4Lm4i71rGnNOflv96ASceiX6oSf7Fwh+i/ovFAtAxeTZwWM9mtlgVgpz1mgaJLyA0 X-Received: by 10.99.116.22 with SMTP id p22mr8183446pgc.182.1516698820384; Tue, 23 Jan 2018 01:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516698820; cv=none; d=google.com; s=arc-20160816; b=dsIbkX/71+maOvy+GbyouJU09FlDKzDo1TskvxpEhkqBKjtIwCJmq46iViBtKz3uMb /i76a2R3PL4jcGqsuQhF7daWXciulthWcxlety7uMdZdPZLq5sQaYlVteaJD4xh6I3QH FSOxkbZcR/eiFZyW4cY57AgTJWg6zwLivMFQWkj+HddlDQhvgu0l7LiXujIARbS4vM8r hQ7FR97Nyd57ad+Wsh86enoov0cnuS0h9RunjCz0FV6y9Fyr5nvCiiWhI/Tp/a2rD5Nb hBi4b/coMB+o9Nv9pOUqTkA2VHwwf+zifOqpCOuhomrUQiUZMWT7V3gO1SmruYxOacg1 A9qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=kwrzWF3r8Nmnc8Lq/S5rv7gXrxNlvkLYrBM4wYNXD2g=; b=o+QRGA4v6LdodAdtOHY4MnDuZppVAIBIV3HK75e3lcVbz+YJ1ePM4dEth+igoRoNV1 n+BlALrDp++C2gEyIBCVGwwQqXHxEKy/QN44xghd8rPEL+32boY9hniV8jY5PxQMBPlR xqc7dEiaPzg9M9eJ1Q7OcEQcfGhstaq746I/30yjNpOxpOkrDmQFI/XslNeVOMN7G3v3 V3iu+fwWdNx0NRoUcbm+ef/cEoaG42zScXmU8y3UqEB8RXtTV5lcvoCLVL++m4F1IBFJ +LZO25U6tUD3KMWLygpojAy+uKvxcw2U8013muCpfFqRjsvt3TBkL0dPvkwpJQcs8lbN PHaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPTEP8Il; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7-v6si4463328plk.510.2018.01.23.01.13.25; Tue, 23 Jan 2018 01:13:40 -0800 (PST) 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=@linaro.org header.s=google header.b=UPTEP8Il; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751247AbeAWJLg (ORCPT + 99 others); Tue, 23 Jan 2018 04:11:36 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45796 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbeAWJLe (ORCPT ); Tue, 23 Jan 2018 04:11:34 -0500 Received: by mail-wr0-f193.google.com with SMTP id 16so11646162wry.12 for ; Tue, 23 Jan 2018 01:11:33 -0800 (PST) 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:content-transfer-encoding:in-reply-to :user-agent; bh=kwrzWF3r8Nmnc8Lq/S5rv7gXrxNlvkLYrBM4wYNXD2g=; b=UPTEP8IlfBsBn/gvwhAOk3Kotzv1utp0Zz8ruxKCa0mwqi754xg7Be5GyEfKO3O4uv WiyPpauPwAmeZJDaT50JhalIWtI3vzIIVfzYFYjNUGOOopYChJJXkxAheZcxgmJ1gLVW O+OHdQn/WDOS28vdpJsAuicQUNIkohXCqvvFQ= 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:content-transfer-encoding :in-reply-to:user-agent; bh=kwrzWF3r8Nmnc8Lq/S5rv7gXrxNlvkLYrBM4wYNXD2g=; b=E1rYzPvFnghQcgbTbEKEivFxw7MBVxmCimmE0MRZW1O6+SlidLddYMNeQizG8iiIMU vnokx6CbRt+CZ2i3OLXbn7vPu0amKsxSf9yvhXBJAShdTAFYBvNFqfGQoBznMZAd4i8O sYdo4+V9Le8Woa3Rz7OP8HoV8MyT6hxeXUW8+fN715sWU6ULCQR0Ibx6RLUEOb0EDdLY 9uth2GbUc64EK9JoSvYQOW8eKDhAy+D8+4VcuDoeFeUQrDxLz0ToUyGwOaHF+QfNrobK 5xe2HaneECT2Sd/JflibaYVUxT0EUYdwYks42X0d5WpxCnr4cPr381G99BqcfjyBISS7 Z7iA== X-Gm-Message-State: AKwxytf9i2ZuXzglHmvpXnAS1hOiMlh4jO1hqNwmbb+kMQ9Y65RJdE2G BDgIAtkNrt7kDgtTobyCxb2MUg== X-Received: by 10.223.189.12 with SMTP id j12mr1534647wrh.52.1516698693139; Tue, 23 Jan 2018 01:11:33 -0800 (PST) Received: from dell ([2.27.167.60]) by smtp.gmail.com with ESMTPSA id 39sm24846379wrz.93.2018.01.23.01.11.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2018 01:11:32 -0800 (PST) Date: Tue, 23 Jan 2018 09:11:28 +0000 From: Lee Jones To: Baolin Wang Cc: Arnd Bergmann , Rob Herring , Mark Rutland , Mark Brown , LKML , DTML Subject: Re: [PATCH v7 2/2] mfd: syscon: Add hardware spinlock support Message-ID: <20180123091128.uqiot64vup566syo@dell> References: <29fa88f883dae4c1f8a3acb2656cbd7c5a539d40.1514180039.git.baolin.wang@linaro.org> <20180111152219.yzit67dzdshi3cxs@dell> <20180122134336.e7phrckbpwvxwsfz@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Jan 2018, Baolin Wang wrote: > Hi Lee, > > On 22 January 2018 at 21:43, Lee Jones wrote: > > On Thu, 11 Jan 2018, Lee Jones wrote: > >> On Mon, 25 Dec 2017, Baolin Wang wrote: > >> > >> > Some system control registers need hardware spinlock to synchronize > >> > between the multiple subsystems, so we should add hardware spinlock > >> > support for syscon. > >> > > >> > Signed-off-by: Baolin Wang > >> > Acked-by: Rob Herring > >> > --- > >> > Changes since v6: > >> > - Treat hwlock id 0 as valid for regmap. > >> > > >> > Changes since v5: > >> > - Fix the case that hwspinlock is not enabled. > >> > > >> > Changes since v4: > >> > - Add one exapmle to show how to add hwlock. > >> > - Fix the coding style issue. > >> > > >> > Changes since v3: > >> > - Add error handling for of_hwspin_lock_get_id() > >> > > >> > Changes since v2: > >> > - Add acked tag from Rob. > >> > > >> > Changes since v1: > >> > - Remove timeout configuration. > >> > - Modify the binding file to add hwlocks. > >> > --- > >> > Documentation/devicetree/bindings/mfd/syscon.txt | 8 ++++++++ > >> > drivers/mfd/syscon.c | 19 +++++++++++++++++++ > >> > 2 files changed, 27 insertions(+) > >> > >> Applied, thanks. > > > > In order to avoid confusion, I should like to tell you that this patch > > is applied for v4.17, not v4.16. > > This patch has been applied into Mark's branch[1] with your ACK, so > Mark should drop this patch from his branch and you will pick it and > merge it into v4.17? > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git/commit/?h=topic/hwspinlock&id=3bafc09e779710abaa7b836fe3bbeeeab7754c2b Ah, this is the one that failed to build when merged alone. Very well. Ignore my last. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog