Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3499379imu; Fri, 30 Nov 2018 01:05:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/UxCf0DbXE2xxc5Xmy0kNUyXeYPWYIOguDfmD58Ac9QE3srntRZX9NLSVgXxhPmKzoqUJyY X-Received: by 2002:a63:344e:: with SMTP id b75mr4001175pga.184.1543568702138; Fri, 30 Nov 2018 01:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543568702; cv=none; d=google.com; s=arc-20160816; b=pyJOjdRMI4UKCPQiGG1OZoOBnWy3irjDManz/fkTBO8FJewtxH5hGtPKlcW5LtJQZa xhntZwrotvCREaAj+WB/D4bRzhkLOXzTqnHyqxBhBH3bg0ebh5us+Rmo4H65F9wqv1XF Ypmo1uwNc5TJCCb1r6Xupyb88aFM99WtHhfnEvUF1O0wStyqpWM4/A2EJl2cDxT9DInD kOhkAG1E1DsxPk20778Ykb9S/jXsTISUeOCyAbZFcLtzGXdEE+AJPYytZDOi0ZfLBqC0 AgiAAZTwvIHypzzO/5cuZfc1bcqHhbvV7/siSmPZAht8toBBtiqeeBCd5q82/6WWHHyD uNAQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=h+aWVCNdWj/H17F0ev+T0UfuTD9cV1MJBzhPRUmBiIA=; b=sABvVKZVLCy598ev0lYKWCWSSFyUlFxfI3gsJ2pKcVyTZxGY6M5Pyrg4kmt8oUQhIa 7mDkqqwmdbHutULoWs2WcJfmQtqwAH3+8KqZr7NkiaEOy/+z8nG95lMqxXM774TQMGqR 4gr+BGXxFv3a4s6VuM4ID+9bgD97Af8yipn7PYsZ+nQZ9I1vNlDb7QM6oysWzWC6wsIu qJsKwmqcwZ6XMS6L2kM1ZntEH42RIkXQuz6/WH67lkNNBDHAhtE9NNpfTbQocAz08Uia PvufszllJVVEnJlkA2i5WdYI1tL+drVp3UcAPLTcACswoAD9urUxxjwjt6wBqjaCianZ 1VTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cZxBpHm4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126si4697736pff.77.2018.11.30.01.04.46; Fri, 30 Nov 2018 01:05:02 -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=@gmail.com header.s=20161025 header.b=cZxBpHm4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727221AbeK3UMp (ORCPT + 99 others); Fri, 30 Nov 2018 15:12:45 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:37443 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726551AbeK3UMo (ORCPT ); Fri, 30 Nov 2018 15:12:44 -0500 Received: by mail-ed1-f67.google.com with SMTP id h15so4224045edb.4; Fri, 30 Nov 2018 01:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h+aWVCNdWj/H17F0ev+T0UfuTD9cV1MJBzhPRUmBiIA=; b=cZxBpHm4/3UnE7VEKez4Io1T1qrCidOy6DwhI1yyFgsob91THRLCx1m5OK4cR+ggyG BsSrFB0TA3U5FwbY2OO6HWqxQarVfaxkiu06Zj2bS3BNPnyBQxuKv8lxkLq6ukZ8i981 ZZn5X2mHEwzW/DXmqm51vEhfuR+NO0PqgtrjgE43/tGRQGvkXNYNnVT7qSZioI3aE58+ fqVLvYHJ0V+hFF5B6zTwvrGQSc8ZjhGn4VY8So6VxFz2/8oGRaoe3CbSL1BrLt6dG7Wv S+EeCyHAVQnGRAQsdvZrgq5ceysi0mBSsrGZtWgiL852TipgGe1iBXGxYfT1gbpuxcp1 e7sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=h+aWVCNdWj/H17F0ev+T0UfuTD9cV1MJBzhPRUmBiIA=; b=CzEo0xStU7bZE28pD6agjDvV5Rrx5yfXQZmUbj74hIoznvOyaDkETFJgggPAg4l59m PlX3GBKx2g3OU490PXdgfiNYjv5hy0R1N5jbnD1uAUP9jqT73PHEQQXs4PTWdrfKTYL4 7VMXG5sYV/DB99uDaQCoURe5PNPHl2P+/A7xFvkAH4mycfwFyQMA3NjomlTdYYNg48Hy 3eFIL4/xe1Hrmk/CAU8q1T8+G76mOwtMVgQZdRYRCZ3r1Sntuwyy57W4qXpdmBSpFBOq mkA3uOBuxoeiue79hYez3Q8S5xBQVMz4rXCfLaEZ3R16ypuB9BLpjn7PFCyVTJDsU+2y cU2w== X-Gm-Message-State: AA+aEWbr6augrqlMU8uFMFZd+Sc8kahzuBoZQwGPCj2gZwHdEMo26ZoM TxHPH0UoM4lJcEfn5WP43Uo= X-Received: by 2002:a17:906:7087:: with SMTP id b7-v6mr4004150ejk.194.1543568644968; Fri, 30 Nov 2018 01:04:04 -0800 (PST) Received: from ziggy.stardust ([37.223.145.41]) by smtp.gmail.com with ESMTPSA id d15-v6sm705424ejc.31.2018.11.30.01.04.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Nov 2018 01:04:04 -0800 (PST) Subject: Re: [PATCH v2 0/3] Mark clocks as critical for MT6797 To: Stephen Boyd , matthias.bgg@kernel.org, mturquette@baylibre.com, Kevin-CW Chen Cc: jasu@njomotys.info, sean.wang@kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Matthias Brugger References: <20181116180901.17737-1-matthias.bgg@kernel.org> <154356044342.88331.13729809794593193239@swboyd.mtv.corp.google.com> From: Matthias Brugger Openpgp: preference=signencrypt Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF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oQeX 50OP+/11ArV0cv+fOTfJj0/KwFXJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGf XM8DY1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp 3mlIFZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHc UXI+r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <8e8b9c0f-7647-daa4-504b-7b86bcd45a04@gmail.com> Date: Fri, 30 Nov 2018 10:04:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <154356044342.88331.13729809794593193239@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/11/2018 07:47, Stephen Boyd wrote: > Quoting matthias.bgg@kernel.org (2018-11-16 10:08:58) >> From: Matthias Brugger >> >> Jasper send this series some month ago. As there was no reaction from >> his side, I'll do a friendly take-over. >> I tested the patches on my Helios X20 boards and they fix the issue. >> I didn't add a Tested-by tag as I added my Signed-off-by. >> >> Changes since v1: >> - add a fixes tag. >> >> --- >> >> Currently, DRAM-related clocks and the axi_sel MUX are not marked with >> CLK_IS_CRITICAL for MT6797. This causes memory corruption when the >> system is booted without clk_ignore_unused. >> >> This patchset >> >> 1. Makes it possible to mark outputs of MUXes as critical by introducing >> a new macro, MUX_FLAGS, >> 2. Makes it possible to mark gates as critical by adding flags to >> mtk_gate, and >> 3. Marks axi_sel, ddrphycfg_sel, infra_dramc_f26m and infra_dramc_b_f26m >> as critical. >> >> The addition of flags to mtk_gate also exists in the patch series "Add >> basic and clock support for Mediatek MT8183 SoC" [1]. The type of >> flags is unsigned int in that series, but the real type is unsigned >> long, so my patch differs from that patch. > > Will anyone from Mediatek review this? Why aren't the people who signed > off on drivers/clk/mediatek/clk-mt6797.c included on this patch series? > They no longer work there? > My fault, I'll resend 3/3 with the comments you made. Added Kevin-CW now...