Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp976374imm; Tue, 3 Jul 2018 03:25:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLCrLK77u1/eiwNb9yyranx1O9aaB7VfBnIersQ5kYN2D2H+Wtx1j7up4EeGR/vcKVWb1fV X-Received: by 2002:a63:82c7:: with SMTP id w190-v6mr25023359pgd.253.1530613508610; Tue, 03 Jul 2018 03:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530613508; cv=none; d=google.com; s=arc-20160816; b=ajwR303yUNssGdHKfVDKZSrspy8RUIUBStGnQvOX0WSKSQoTH7Ee4Mnhh8W832eBjm dp6OGhqqWP4Za69bD6UyzYVf17s9Zwhtln8+4fXmiN/zpfa3xldbuiQFy2JKU3ozVFrx uryQlUo1l+E8wbCk/Cb3MM1liJweo+PFi8nhddD9631IMVGbpa7JMkakIcDFc2GKtvZ+ dqb9GdTXueRqagohMDcJHgLCFhAel0FBHOeKe5jwE0DKd0TGtFEEZtmZjcR7zPt+3gTE FtZrzKSEaJ8XNzd8RM0XmaEetwiMn0FIwKpBJ8mMkMK6je3Fp9gDsitqa+Kdu1EImuei RexA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=HSKP1QHu5I1PksgLU0CUrckpZCUg8JmaR5kPGP/i864=; b=KdSceXIWrnfdiuDVKSv7kCll1M4CW6HYQgANiP2uP6h0OsF0h0NRpJ8T6xpoKmm0J7 WpCAh0lVpptckZlFl30Tb0LBI2Xs3xu6oHvVj/EspYimpAGJUDdRYG8kBgzS1qGlasvW C9vTY/HDxyGhzMNyoSyD3RhbAXuQjWgaXYx24rotOTo0C3tvd4A/8LQPnXj6gpu48yYe u9+xBDaKLHyMqlwET5ZC4v8ETQshT/q8qxvBxmLlqVZgRtlRxs7KETulywwjwYHgZY+e m0D/W2WJLkuItbPw0aCQfQEIdPCPRIlY1gxADUG6zs33IdpffJwN/VnK/m7GmGkbeY76 eg4g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si783576plx.227.2018.07.03.03.24.54; Tue, 03 Jul 2018 03:25:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754747AbeGCKXw (ORCPT + 99 others); Tue, 3 Jul 2018 06:23:52 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:37191 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754536AbeGCKXv (ORCPT ); Tue, 3 Jul 2018 06:23:51 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1faITH-00019p-HL from Vladimir_Zapolskiy@mentor.com ; Tue, 03 Jul 2018 03:23:43 -0700 Received: from [137.202.108.125] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 3 Jul 2018 11:23:39 +0100 Subject: Re: [PATCH 2/2] misc: sram: enable clock before registering regions To: Johan Hovold , Greg Kroah-Hartman References: <20180703100548.30214-1-johan@kernel.org> <20180703100548.30214-2-johan@kernel.org> CC: Arnd Bergmann , Alexandre Belloni , From: Vladimir Zapolskiy Message-ID: Date: Tue, 3 Jul 2018 13:23:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <20180703100548.30214-2-johan@kernel.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.87] X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Johan, On 07/03/2018 01:05 PM, Johan Hovold wrote: > Make sure to enable the clock before registering regions and exporting > partitions to user space at which point we must be prepared for I/O. > > Fixes: ee895ccdf776 ("misc: sram: fix enabled clock leak on error path") > Cc: Vladimir Zapolskiy > Signed-off-by: Johan Hovold thank you for the change, however please note that the identified commit for the fix is incorrect one apparently. In my opinion the proper tag contents would be Fixes: b4c3fcb3c71f ("misc: sram: extend usage of reserved partitions") I hope you agree to it, also I would suggest to swap the changes in the series. -- Best wishes, Vladimir