From patchwork Mon Oct 30 07:04:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 159522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2027241vqb; Mon, 30 Oct 2023 00:05:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKaqoKWYVqfuRPGOH3MBj22a8c++X+q0MdAHvgUjrA6hBf6Y9sx0P2NaQO1rBD7TS3n1r5 X-Received: by 2002:a05:6a21:66c5:b0:160:a980:1222 with SMTP id ze5-20020a056a2166c500b00160a9801222mr7801767pzb.53.1698649516824; Mon, 30 Oct 2023 00:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698649516; cv=none; d=google.com; s=arc-20160816; b=Kx5UUvdQrO8oqzc6Ij+C62cwmA32gVJvA1wHqBg6d7fbcbZXvhBdEXLQFgVYgDgnl+ GXxBLynv7xSjozJQhMnMXy05Ao4T12hRVebZsOOeJ3ZKDBRwi4bBgMkNrugFmV9Jds2z HtvfFnv+DC3i7uNUAk8zcpAtncXrvI0MuG+2usSkL0rb71SLAushCKRiULdqAFwVkdkf L8LJuOowOAv7rcSWHRR3FqOUOpWQu+EwG0d99pwlp8jfCSo14UKdKqsTnX4Z7cgfdalA 2Z/3l5eRzDlf82alKrzdWrrd8Ap/J6Iyk0p9q9R/jzgrxPumSKg04azmySI8E+Rh+yGo vDDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=UMQNR3wFpC12u2y8ncd7bnalRy9P56xmgn2OLyiFPYQ=; fh=IrcG4udu5gz530VWm9CMZxxQOudmES8xlIDJ8VOr/ug=; b=zLF5xfWIdYjTRajv8iaG5HYtsLZIbeLgY74vOeFYpwEb88cRKBHS/9rMxI0zT40Cgk Hudk6ZFB7xiAGakrcV3s7m/RjJTII5QuGCi58jCjxcpJEC8qKjKmRRJCmvoFaexNeUds jZ59XR0E7z0YxMBwPMuDL45/RhaVPRjNlZjkLbpE5X6YDB9TLO2iqGs1QIHYU1BzzKFB qEJJ6rbuXPpvqPoLgQz+wxKo259KdtFLlk7s8kr5tNjJGIA3N6dl1HAiPXnNwNyDd5qL 47sN2+/hKGOuqwItA3WM1aPxGfL44fR1FxmjhwgiHuwAd6wRKN6T0Jm4UKdKksbL0LaH PtwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=osq+AvqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id f12-20020a65550c000000b005b834096959si4505484pgr.851.2023.10.30.00.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 00:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=osq+AvqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 478E480532F5; Mon, 30 Oct 2023 00:05:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbjJ3HFB (ORCPT + 32 others); Mon, 30 Oct 2023 03:05:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjJ3HE6 (ORCPT ); Mon, 30 Oct 2023 03:04:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 927B0B6 for ; Mon, 30 Oct 2023 00:04:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14446C433C7; Mon, 30 Oct 2023 07:04:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698649496; bh=TF+SLoURtOuEiBScTKlNLOOVWyED1T/jjnE8GQmfRt8=; h=Date:From:To:Cc:Subject:From; b=osq+AvqBit+/Jk6GkA/MMeX1S+ZULi0fszSM/7k4fDeJ0RoTzGa2PUJq2KKSd9HMF Rrogs8ATWJgCUEVjVNkmEQPRhhASsRPTl0mRTkhJ6OlyAwIr9w9PC6zqdYEJt5TzZY ElhdPr/9L08wpYRhblzAFWkCSsyCs7Bq5DK/tsNxz1Mdtp5TBWjabszW/O3erxPdub iLBmqDWoKsjVjdNaK67oVnz79IJX/mKgNix956Fkp0mM1uHcuMH+qqagkUJk8mTw5v SymqVlwkEoVsAeQJdMGZ9J8kqaLmbs8F3AlqaJaAjHdWH9HoCI+ZHDse4NNRpHI3OJ Yi1hfadW8Ccaw== Date: Mon, 30 Oct 2023 15:04:52 +0800 From: Tzung-Bi Shih To: torvalds@linux-foundation.org Cc: pmalani@chromium.org, bleung@chromium.org, groeck@chromium.org, tzungbi@kernel.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev Subject: [GIT PULL] chrome-platform changes for v6.7 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 30 Oct 2023 00:05:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781163115725600777 X-GMAIL-MSGID: 1781163115725600777 Hi Linus, Please pull chrome-platform updates for v6.7. Thanks, TzungBi The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d: Linux 6.6-rc1 (2023-09-10 16:28:41 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git tags/tag-chrome-platform-for-v6.7 for you to fetch changes up to 47ea0ddb1f5604ba3496baa19110aec6a3151f2e: platform/chrome: cros_ec_lpc: Separate host command and irq disable (2023-10-28 11:13:25 +0800) ---------------------------------------------------------------- chrome platform changes for 6.7 * Improvements - Annotate flexible array members with __counted_by. - Convert platform drivers' .remove callbacks to return void. * Fixes - Avoid MKBP event timeouts by disabling/enabling IRQ later/earlier. * Misc - Minor cleanups and fixes. ---------------------------------------------------------------- Kees Cook (1): platform/chrome: wilco_ec: Annotate struct ec_event_queue with __counted_by Lalith Rajendran (1): platform/chrome: cros_ec_lpc: Separate host command and irq disable Stephen Boyd (4): platform/chrome: cros_ec_typec: Use semi-colons instead of commas platform/chrome: cros_ec_typec: Use dev_err_probe() more platform/chrome: cros_typec_vdm: Mark port_amode_ops const platform/chrome: cros_ec_proto: Mark outdata as const Tzung-Bi Shih (3): platform/chrome: cros_ec: fix compilation warning platform/chrome: kunit: initialize lock for fake ec_dev platform/chrome: kunit: make EC protocol tests independent Uwe Kleine-König (12): platform/chrome: cros_ec_chardev: Convert to platform remove callback returning void platform/chrome: cros_ec_debugfs: Convert to platform remove callback returning void platform/chrome: cros_ec_lightbar: Convert to platform remove callback returning void platform/chrome: cros_ec_lpc: Convert to platform remove callback returning void platform/chrome: cros_ec_sysfs: Convert to platform remove callback returning void platform/chrome: cros_ec_vbc: Convert to platform remove callback returning void platform/chrome: cros_typec_switch: Convert to platform remove callback returning void platform/chrome: cros_usbpd_logger: Convert to platform remove callback returning void platform/chrome: cros_usbpd_notify: Convert to platform remove callback returning void platform/chrome/wilco_ec: core: Convert to platform remove callback returning void platform/chrome/wilco_ec: debugfs: Convert to platform remove callback returning void platform/chrome/wilco_ec: telemetry: Convert to platform remove callback returning void drivers/platform/chrome/Kconfig | 6 +- drivers/platform/chrome/Makefile | 5 +- drivers/platform/chrome/cros_ec.c | 116 +++++++++++++++++---- drivers/platform/chrome/cros_ec.h | 6 ++ drivers/platform/chrome/cros_ec_chardev.c | 6 +- drivers/platform/chrome/cros_ec_debugfs.c | 6 +- drivers/platform/chrome/cros_ec_lightbar.c | 6 +- drivers/platform/chrome/cros_ec_lpc.c | 28 +++-- drivers/platform/chrome/cros_ec_proto.c | 2 +- drivers/platform/chrome/cros_ec_proto_test.c | 3 +- ...cros_kunit_util.c => cros_ec_proto_test_util.c} | 4 +- ...cros_kunit_util.h => cros_ec_proto_test_util.h} | 0 drivers/platform/chrome/cros_ec_sysfs.c | 6 +- drivers/platform/chrome/cros_ec_typec.c | 18 ++-- drivers/platform/chrome/cros_ec_vbc.c | 6 +- drivers/platform/chrome/cros_typec_switch.c | 5 +- drivers/platform/chrome/cros_typec_vdm.c | 2 +- drivers/platform/chrome/cros_typec_vdm.h | 2 +- drivers/platform/chrome/cros_usbpd_logger.c | 6 +- drivers/platform/chrome/cros_usbpd_notify.c | 12 +-- drivers/platform/chrome/wilco_ec/core.c | 5 +- drivers/platform/chrome/wilco_ec/debugfs.c | 6 +- drivers/platform/chrome/wilco_ec/event.c | 2 +- drivers/platform/chrome/wilco_ec/telemetry.c | 6 +- include/linux/platform_data/cros_ec_proto.h | 2 +- 25 files changed, 166 insertions(+), 100 deletions(-) rename drivers/platform/chrome/{cros_kunit_util.c => cros_ec_proto_test_util.c} (98%) rename drivers/platform/chrome/{cros_kunit_util.h => cros_ec_proto_test_util.h} (100%)