Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11553805rwl; Tue, 3 Jan 2023 00:41:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtns5iAiQMUpmQLOIddH69K/3EU6Z8qjxL+Kwh7fGOuEkC0VqAZJHy3+Xpvh/e+LFbj35R0 X-Received: by 2002:a17:90b:35d0:b0:225:f793:ab2d with SMTP id nb16-20020a17090b35d000b00225f793ab2dmr28736799pjb.46.1672735265399; Tue, 03 Jan 2023 00:41:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672735265; cv=none; d=google.com; s=arc-20160816; b=iTDyVFnZGpIJpqiSvhGc4ZKWa1VhLPyN6HdLCNsPOhTL3ANucxwVUIkWB3/Pqx9aIY NP+dHSPhwFiqvL1cwoSZrdwqGRNkEOwuyCB3Az012Ftv3DQnoY1V3oS1w68Hic3/bYBN Ao+31kyeb6r0CWTLA7taAlt1PXGeHhlcDCg1uFEPIS3Io74WVqjtLWkCS+c3FmJr8iJT i64qCvLF2+LFq0RbIs8DNRmP9AySdY9j4RKHX4zvjKss7grcLn50LUygC0CwdJeG7yRh MzK74mNmqcmS2YG87HrVdR9D06teP3u/zZb13TCpCRYwMVjgVfOY+jE2RcfCk1TLJbv4 LWVg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=j5Q279Qtu5QPF6orLu65UZyfbpc6rkE94ANGCurRcvE=; b=X4yr94gojlMCD4MU0YACabBaJsCAuWqedk65y4Sx8z+0rYgTgAaDPt7q4i+OI020A+ 9hUC3D7Bpk1uQwp13dRFVQGg9PrsPj9cPisefBze4bEeJgjQHShPiWYNjlQaEwNyhxeS PJd11qlUqZtSWl2PiF4vr2zIqRI7pUzGVnSgc0+USM8oYo/ZciajIN9oTvB4jrB3HKPx Dmqlj7vpbXB8Mr5BqYr63SZYzdvprX8nOnXgdcYG9W39yijH1ZRR9sAQP1tF4OAdmaL7 5s/gH41TlrFz/VsPKr9H0dkpN/BahYz/706rqwEp+8Js5X9B/iB7SnJBmZ7G6kONMf5h xd+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WuHPGWen; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na12-20020a17090b4c0c00b00218ac70fdefsi7901384pjb.183.2023.01.03.00.40.57; Tue, 03 Jan 2023 00:41:05 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=WuHPGWen; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233156AbjACIXh (ORCPT + 61 others); Tue, 3 Jan 2023 03:23:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233066AbjACIXc (ORCPT ); Tue, 3 Jan 2023 03:23:32 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB2D65D4 for ; Tue, 3 Jan 2023 00:23:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7AE66611CF for ; Tue, 3 Jan 2023 08:23:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37D76C433F0; Tue, 3 Jan 2023 08:23:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672734209; bh=Vx19a5fM3UWWsmRzyAEudxpAQbx7QwFdTxShf8tHuL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WuHPGWenPl+PO/3YSIXFQPh23Q7YnJvsoxF4TmpPeXXx29JSx+iunwr9wEVKhwGkw eV5pE39zgeFoB71EpQxjdVbg9nLi8Z9liKpma0+t4ghVx8AYCRPtNKpa1MukSoHeFM RuURsn9VEBJ49si8McV0I1sZtS8EkEyyCoCPTYq1tPcWfmJAwm8WVv8FZ+y76ysr2z XWzN92BKHdtlDHXd8FCO9GE9URXbdIEsBZtmgbZ4zBUUeJmCBU3bvmVwcBz5495fTd fN3++6LrhegkFGLP9dEt4LUwSrsADhRLE9O9ey03PWJHlCRSfWGfSMuLTd2eRqtWyT 8CCBh1lKJxr8g== Date: Tue, 3 Jan 2023 08:23:22 +0000 From: Lee Jones To: Prashant Malani Cc: linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, heikki.krogerus@linux.intel.com, Benson Leung , Daisuke Nojiri , "Dustin L. Howett" , Evan Green , Greg Kroah-Hartman , Guenter Roeck , "Gustavo A. R. Silva" , Kees Cook , Lee Jones , Sebastian Reichel , Stephen Boyd , Tinghan Shen , Tzung-Bi Shih , Xiang wangx Subject: Re: [PATCH 01/10] Revert "mfd: cros_ec: Add SCP Core-1 as a new CrOS EC MCU" Message-ID: References: <20221228004648.793339-1-pmalani@chromium.org> <20221228004648.793339-2-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221228004648.793339-2-pmalani@chromium.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Wed, 28 Dec 2022, Prashant Malani wrote: > This reverts commit 66ee379d743c69c726b61d078119a34d5be96a35. > > The feature flag introduced by Commit 66ee379d743c ("mfd: cros_ec: Add > SCP Core-1 as a new CrOS EC MCU") was not first added in the source EC > code base[1]. This can lead to the possible misinterpration of an EC's > supported feature set, as well as causes issues with all future feature > flag updates. > > [1] https://source.chromium.org/chromium/chromiumos/platform/ec/+/main:include/ec_commands.h > > Signed-off-by: Prashant Malani > --- > > While this patch modifies drivers/mfd, it would be preferable to submit > it through the chrome-platform tree, since that eliminates cross-tree > dependencies for the series of which this patch is a part. Shouldn't be an issue: Acked-by: Lee Jones > drivers/mfd/cros_ec_dev.c | 5 ----- > include/linux/platform_data/cros_ec_commands.h | 2 -- > include/linux/platform_data/cros_ec_proto.h | 1 - > 3 files changed, 8 deletions(-) > > diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c > index 344ad03bdc42..02d4271dfe06 100644 > --- a/drivers/mfd/cros_ec_dev.c > +++ b/drivers/mfd/cros_ec_dev.c > @@ -64,11 +64,6 @@ static const struct cros_feature_to_name cros_mcu_devices[] = { > .name = CROS_EC_DEV_SCP_NAME, > .desc = "System Control Processor", > }, > - { > - .id = EC_FEATURE_SCP_C1, > - .name = CROS_EC_DEV_SCP_C1_NAME, > - .desc = "System Control Processor 2nd Core", > - }, > { > .id = EC_FEATURE_TOUCHPAD, > .name = CROS_EC_DEV_TP_NAME, > diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h > index 5744a2d746aa..7c94bf5c8f05 100644 > --- a/include/linux/platform_data/cros_ec_commands.h > +++ b/include/linux/platform_data/cros_ec_commands.h > @@ -1300,8 +1300,6 @@ enum ec_feature_code { > * mux. > */ > EC_FEATURE_TYPEC_MUX_REQUIRE_AP_ACK = 43, > - /* The MCU is a System Companion Processor (SCP) 2nd Core. */ > - EC_FEATURE_SCP_C1 = 45, > }; > > #define EC_FEATURE_MASK_0(event_code) BIT(event_code % 32) > diff --git a/include/linux/platform_data/cros_ec_proto.h b/include/linux/platform_data/cros_ec_proto.h > index e43107e0bee1..a1f5b6d6db3a 100644 > --- a/include/linux/platform_data/cros_ec_proto.h > +++ b/include/linux/platform_data/cros_ec_proto.h > @@ -19,7 +19,6 @@ > #define CROS_EC_DEV_ISH_NAME "cros_ish" > #define CROS_EC_DEV_PD_NAME "cros_pd" > #define CROS_EC_DEV_SCP_NAME "cros_scp" > -#define CROS_EC_DEV_SCP_C1_NAME "cros_scp_c1" > #define CROS_EC_DEV_TP_NAME "cros_tp" > > #define CROS_EC_DEV_EC_INDEX 0 > -- > 2.39.0.314.g84b9a713c41-goog > -- Lee Jones [李琼斯]