Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3968488rwa; Tue, 23 Aug 2022 13:33:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR7LkGKb6tgY3NRd2xUOgIs4GTVhhHKzmj+agZNzpx+xg+yjYpynvRvvmOPEfnqzW+bT4KFI X-Received: by 2002:a17:902:8d83:b0:172:c4f6:aa84 with SMTP id v3-20020a1709028d8300b00172c4f6aa84mr20400701plo.67.1661286815726; Tue, 23 Aug 2022 13:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661286815; cv=none; d=google.com; s=arc-20160816; b=0ez/HtJDM+fG9zhGXQy157hq7AbImBBEYDs2r88XByLYhQFmh1I6D24jA4/72VqbFB zmQ5i8xhIcPz2XaZ+usMWg6iMv0/6+7RLe7F2xnJVoTgkmFFS00OQdkoO7GWHb6e+njD YzvlXOOud89aVxIZiQ9nQZkpurw70GzK/87HbKbVGiP4uuXHzTxufX3Y68YCy5pfyyRI d6D91v4N5SRAT23Zk64vlaMN9HZBXQe2Lsw5v0miUaXPB404z01Pf9mftk9qXAyPiVP7 qx6hWgK9PKgfzYo7H37QXPZI2tBtCrNn4bQcOqpxNwa04GURUb8yisp53ANQb3LpqhLy ilmg== 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=XtHnpqNsO1GqMrMs/hDiQG1cyMYMiBI2ato5C3wCzTY=; b=siGYCZwfsejG8+lxDZsUoNdaE5KETkcY6keX2NS95aelWudoHah/EfLMZ/yWFoT0Ai to41OT9vsW7TRQTtwWQEtXBwwf9pMKB406UCv79kd4CxeJb4VST/lt4HWZyOxE19HPaz rglCvXtWLFCFjg4MLN9CKOqBP3Q9R5V+yHVQKYyC/Ac5aKVx3qPvKb02AqsObpBOZ/0D 46DiUJd5n86VBBzLJFKAs14WrrytVG/rZss93iP6bLShvkvug+GZimL1w2ccCU4BKc1N nzYndRc+ZTUx07jKX9LdaJRc3VDUEFOHmZYRPOG2fAzZS/kHFF/tWSKGije4vT9h3Y8f OSbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKjjBYj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj11-20020a17090b088b00b001fab2149e3asi14636678pjb.96.2022.08.23.13.33.22; Tue, 23 Aug 2022 13:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKjjBYj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229943AbiHWTdB (ORCPT + 99 others); Tue, 23 Aug 2022 15:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231896AbiHWTcb (ORCPT ); Tue, 23 Aug 2022 15:32:31 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 772D3AC248 for ; Tue, 23 Aug 2022 11:24:41 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-31f445bd486so401372457b3.13 for ; Tue, 23 Aug 2022 11:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=XtHnpqNsO1GqMrMs/hDiQG1cyMYMiBI2ato5C3wCzTY=; b=ZKjjBYj1gBxAdyZVr4lWAsSGku+8GieBuHQ0OEl+X6QIkz2TOPeiJzxckGICnDAK6n HQDdOGwtXOJmY2+WICC2VDh8zfUiHfdLpJC8lWSq7GxlkVvqWeAgjuHN4CFZcvp6aLOZ khUt1UxKnVrjmLB7um48WbJx2FswKGDvb7Oe2zpjfVf9shqM7nucZZVk+DMnjbtAEIIu yI/uwG1Y513oEBHTDMT3NV3d95LxaNIG/5QDAwtKNc7sKA2wBoKhbb+hb73rCvLoG64i wc5mWc5YcuVubR46MgT47K/oMOGJQlY7a9xMpfU0Dwz4AIlp11JdSygsuDWpwwtdQjyk uHdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=XtHnpqNsO1GqMrMs/hDiQG1cyMYMiBI2ato5C3wCzTY=; b=L1mp4L8iLpdGp/ulo0MOQ3/NSo8C76p2NM0rivv+fR8bSLhfDa8k0BSLrGNeELnZbM ydH0fpP/45iJo/8JNVXch3tjXCcACCpLAgNrh9z+hsvkXPnXyau2ucmQYVefC0vxXCvr q65Bsihxpv7OuhLBG/6lvk7QT/AOy8ia2IHqtUFiMfyIIzYY5/cthTJjFDuUO9+US7qG 608NhuxbAboz/aJPReU0TQ8fWXZ9fVHd5hxTRvkSQ2SZzlymOW/209lf2MWi63CMIq0r mnZqoj3hd78xBtB1EXuc7E9QY++k1sinDyHFcpx8JLXLCqhwXhpa6GJYf0avqvA9VjQz uF2Q== X-Gm-Message-State: ACgBeo2AEUd/zbGeC0/GJf5I9ifALJIi86My0/K6dCLtHpuYUdg/7+4j IjcxiKIE5thFaefk8EHn+COVYMpDnSlKSXUkgjysEg== X-Received: by 2002:a0d:eb87:0:b0:338:d06b:e605 with SMTP id u129-20020a0deb87000000b00338d06be605mr20055821ywe.316.1661279079937; Tue, 23 Aug 2022 11:24:39 -0700 (PDT) MIME-Version: 1.0 References: <20220726173824.1166873-1-dianders@chromium.org> <20220726103631.v2.4.Ie85f68215ada39f502a96dcb8a1f3ad977e3f68a@changeid> In-Reply-To: From: Yongqin Liu Date: Wed, 24 Aug 2022 02:24:29 +0800 Message-ID: Subject: Re: [PATCH v2 4/7] regulator: core: Allow specifying an initial load w/ the bulk API To: Doug Anderson Cc: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Mark Brown , dri-devel , linux-arm-msm , freedreno , Liam Girdwood , LKML , Sumit Semwal , John Stultz , Alistair Delva , Todd Kjos , Steve Muckle Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Douglas On Tue, 23 Aug 2022 at 22:50, Doug Anderson wrote: > > Hi, > > On Mon, Aug 22, 2022 at 11:23 PM Yongqin Liu wrote: > > > > Hi, Douglas > > > > Just an update on the fix you pointed out previously here: > > > > [1] https://lore.kernel.org/r/20220809142738.1.I91625242f137c707bb345c51c80c5ecee02eeff3@changeid > > > > With it I could boot the hikey960 build to the home screen if it does > > not use the GKI kernel. > > but the problem will be reproduced if it uses the GKI kernel. > > > > And if this change is reverted, then it could boot with the GKI kernel as well. > > > > I am not sure what's the reason there, but there seems to be some > > difference with the fix above and the workaround of revert. > > Not sure if you have any idea about that. > > > > Regarding the GKI kernel(Android Generic Kernel Image)[2], it's built > > from the android-mainline tree(f51334eac4de) without any workaround. > > (Neither the revert, nor the fix applied), and the regulator modules > > used for the hikey960 build are hi6421v530-regulator.ko and > > hi655x-regulator.ko > > > > I am still not sure if it would work with the GKI kernel that has the > > fix that you pointed out in. the case that both the GKI kernel and > > vendor tree have the fix. > > Will update here when I have some results. Just checked, with the fix applied in the GKI kernel, the problem is not reproduced again. > > [2]: https://source.android.com/docs/core/architecture/kernel/generic-kernel-image?hl=en > > That's not too surprising. The broken patch is in the core kernel so > you need the fix in the core kernel. Sorry, I still do not get the point here. The GKI kernel is the same one, that does not have the revert and the fix applied. for the vendor tree(the ko files and dtb files are used) #1 built with this commit reverted. #2 built with the fix applied. #1 could boot with the GKI kernel, while #2 does not boot with the same error. What might cause the difference? > I think that means you'll have to > wait until `android-mainline` gets the fix. I don't work on Android, > so if there's some other route to get an expedited fix into > android-mainline I'm not aware of it. Thanks, I will wait for the fix to be merged into the android-mainline, before that I will use the revert workaround for the moment. -- Best Regards, Yongqin Liu --------------------------------------------------------------- #mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android