Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5691025pxb; Wed, 26 Jan 2022 18:59:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwk1PL4CZ0UoAAZzkSkBW+ecG7FkucyZ+Cf1CkRsCd0uPCAJwsToPNxBkKqrSS097nAPsF X-Received: by 2002:aa7:dac5:: with SMTP id x5mr1797794eds.254.1643252384640; Wed, 26 Jan 2022 18:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643252384; cv=none; d=google.com; s=arc-20160816; b=lwYigPspb27r/o7WS/fNKldNTgMfM2zPIXGqfuLTZjW012MzOJa/b9gGpXDAfxz6Ih JSfJV2CJb1+TI/g4rPAg+f/ErbSw3pUA5yoGvsRH87K5/o6QvvopmCV5jus+/uh6c091 LOxlcOP6MYrOSRArwrlEinY8yw5+/jpWY+acM8r42+Gvj1R/De/u2Kg3yJ3Yyq2FqrvJ 6vQ9jhP79yLWSGuK2KDoQKVwMpxfJbtiOHSOT6heyv5uxldJRl9Yz2jnxr5P4JZuqJBx N6OFzgUlQ5Iw+cwRzJMBw6WqguAK/5mmnBQek9YChqgKGrcuKauCUCfwCmTx2om9EeXe nU5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LhmiCV1/nM9D4gpfyVW54b2aVU9iaxsA/jDSOqByd6c=; b=TwJ3YYSQ907l9AFya8zGvrZwtPMw7uM4rEcwNDJUxc5RPZBmbCO1syQ3jpJkKWSVTc T2JQJvrSdxQcHYsN0ZRqsTHaP8euZj+tjvDDFSVrXKi2B8Qry0N2GIzCg2O0Gs6jhbzZ rUv8Yn49K+IfKzmnTvUNtI9wSChb/K0YFAXUxdjCgyi0F1nWolpPwh8M5td0VU+CKv7E g3RqjqCn4eStq6cSAdqOtt0zZ45vBex0nxgYYe7UBD5U92/xEeNEx5pCNoVwiaFBNHI/ Zj5Lc4uBtyS7kuPE7DKG4Uyf18////bzyfQQ4AYR762ffx+aD7vCgi6/kYE13DVkts5J dEgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mF01vYXv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i27si649868ejo.366.2022.01.26.18.59.20; Wed, 26 Jan 2022 18:59:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mF01vYXv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231566AbiAZXIS (ORCPT + 99 others); Wed, 26 Jan 2022 18:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbiAZXIQ (ORCPT ); Wed, 26 Jan 2022 18:08:16 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D0F9C06173B for ; Wed, 26 Jan 2022 15:08:16 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id c9so899070plg.11 for ; Wed, 26 Jan 2022 15:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LhmiCV1/nM9D4gpfyVW54b2aVU9iaxsA/jDSOqByd6c=; b=mF01vYXvOAIm8eYXKjcQ+xRocd5AaOMvSFzLDioyrOJ241l2bFLE4rW25ovbHQ98gF m/q1of8fUYjdZheDSJAIUXq+mKUlMYGdF4ZmpVaDg7QtAWTwOdfgiJOZQKIErZ1p/45n aCDqZGUPP3q/36Q2n1MMP6FbZOcGnbdhuXy+0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LhmiCV1/nM9D4gpfyVW54b2aVU9iaxsA/jDSOqByd6c=; b=mCu8WeoXZnoVWSPq1SLCdF8Zp1ixo1lndz0KzUmedO6XjHgvKDGAwqd315UGEpRlOd 92MzrVa2mQ3gtlT7SuE8Yhnq1dCE4jXeiLgFe4wYYyr5bJFDEyPMLoBWHt9d9yvtiSl+ rEGEZR6frnXtsH4hBUI5eSYCxCR8GiNq1if1FbSHBONqm8FXgfdaP66okbTaP3VO6tzC YzSLSHWq8Yfp9OxhYlyATkgUOwOjEXb8zU8oYbuE19adFgkGm6Q7j8GmtRC8jx2/P/sD 43hJFGtgvBh2ikcPmPfP9XMxgWyInriLBqxbbxfLiqKB+Cp430vTbmRtl2DeK+67qOJt mNhg== X-Gm-Message-State: AOAM5326IieNxnXrM38DQutbzhxvkvRN/ONcTuV6lj/I9R62mgnwh37W aIc9EQb+yakTfAZ6vNOLkV08Bg== X-Received: by 2002:a17:902:dad2:: with SMTP id q18mr683229plx.172.1643238496133; Wed, 26 Jan 2022 15:08:16 -0800 (PST) Received: from chromium.org (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id k13sm3505959pfc.176.2022.01.26.15.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 15:08:15 -0800 (PST) Date: Wed, 26 Jan 2022 23:08:14 +0000 From: Prashant Malani To: Alyssa Ross Cc: linux-kernel@vger.kernel.org, Tzung-Bi Shih , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Heikki Krogerus Subject: Re: [PATCH v2] platform/chrome: cros_ec_typec: Check for EC device Message-ID: References: <20220126190219.3095419-1-pmalani@chromium.org> <20220126230411.nn2illij4wbpdm4q@eve> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220126230411.nn2illij4wbpdm4q@eve> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alyssa, On Jan 26 23:04, Alyssa Ross wrote: > On Wed, Jan 26, 2022 at 07:02:20PM +0000, Prashant Malani wrote: > > The Type C ACPI device on older Chromebooks is not generated correctly > > (since their EC firmware doesn't support the new commands required). In > > such cases, the crafted ACPI device doesn't have an EC parent, and it is > > therefore not useful (it shouldn't be generated in the first place since > > the EC firmware doesn't support any of the Type C commands). > > > > To handle devices which use these older firmware revisions, check for > > the parent EC device handle, and fail the probe if it's not found. > > > > Fixes: fdc6b21e2444 ("platform/chrome: Add Type C connector class driver") > > Reported-by: Alyssa Ross > > Reviewed-by: Tzung-Bi Shih > > Signed-off-by: Prashant Malani > > --- > > Hi Alyssa, could you kindly test this with your existing setup? Thanks! > > Hi Prashant, I'm happy to test, but I'm on vacation until the end of the > week so probably won't get a chance before Monday. No worries, whenever you get the chance is fine. > > I'm guessing I should be testing with latest upstream coreboot (now that > your fix there has been applied)? You should use the coreboot with which you discovered the crash, so the one which *doesn't* contain the fix. Thanks again! -Prashant