From nobody Mon Jun 8 07:39:06 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B045837DE87 for ; Sun, 31 May 2026 13:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780233629; cv=none; b=k0LEXc3DQBH8wt4wR1sdMKLKtPjf9nharZVenvn/LfZ5qNW750NQicKRhY+1q+CC0kGj37/2JeILDAmiQUEpRQusgCVdn8WOPwQ7WI3uw2zghs7DbgA3J0NRBpjWQPgQHZ0KB0BtB/Mbz36SZpsEhUqtllmsKex9JLF8HCF4apM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780233629; c=relaxed/simple; bh=eNN3E2vJNyJaz8mGSJLFVu5okKHyAqnnzMO0RcrqBik=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=M2OqzdyGOkuFMTj1j6NH7cfHvSsg5qWz/7JsZ3LG2uS/ag6Ifreu24tx1gAjXz1dNxfp7eY/mwhrraiB2m7rFIA+ag8o5k9ZO4E+thwGCPHzeZE0wWxTw6uQzyRN0OdR8SbQifikiPeJgxjZt9FF9/CQV3+33eSpPlqIoEXTVv4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=jZ17q/sZ; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="jZ17q/sZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1780233617; bh=eNN3E2vJNyJaz8mGSJLFVu5okKHyAqnnzMO0RcrqBik=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=jZ17q/sZWFjzXwFyuPCd68zuD1Pc3GIHUhEFHLsEBYTY9a74n/aaJFU8W4/FoHbWu r4xuxEUv2z+SctJaz8sb2l2RzsKPZc++lfN61L5W6JAq83b6QWkcWdrHjfGwk2SDRz oaIUZ7ztA7Ov0XKrE+hpXKlh+6W04upfuLZv6cAQ= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 31 May 2026 15:20:15 +0200 Subject: [PATCH 1/2] platform/chrome: Remove superfluous dependencies from CROS_EC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260531-cros-big-endian-v1-1-0cc90f39c636@weissschuh.net> References: <20260531-cros-big-endian-v1-0-0cc90f39c636@weissschuh.net> In-Reply-To: <20260531-cros-big-endian-v1-0-0cc90f39c636@weissschuh.net> To: Benson Leung , Tzung-Bi Shih Cc: chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1780233616; l=784; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=eNN3E2vJNyJaz8mGSJLFVu5okKHyAqnnzMO0RcrqBik=; b=+nrJdgm2OEte9PuWe6RJYBcSmY62ou7rcF6JXHIJLj7VzC0PSwhaxXfCJk5Ca6wGT8f+oeKeQ hFSeCsVjSn+CWOH7VHf/d57OtxEl+bAJfboXNXsLfW1HKCJQOWpAgwB X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= CROS_EC depends on CHROME_PLATFORMS which already declares these dependencies. Remove the duplication. Signed-off-by: Thomas Wei=C3=9Fschuh --- drivers/platform/chrome/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kcon= fig index 2281d6dacc9b..78acc052377b 100644 --- a/drivers/platform/chrome/Kconfig +++ b/drivers/platform/chrome/Kconfig @@ -75,7 +75,6 @@ config CHROMEOS_OF_HW_PROBER config CROS_EC tristate "ChromeOS Embedded Controller" select CROS_EC_PROTO - depends on X86 || ARM || ARM64 || COMPILE_TEST help If you say Y here you get support for the ChromeOS Embedded Controller (EC) providing keyboard, battery and power services. --=20 2.54.0 From nobody Mon Jun 8 07:39:06 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B56C3386C05 for ; Sun, 31 May 2026 13:20:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780233629; cv=none; b=pRG5EyXwf4ds4h1YR8wlBbIzFIFv5AnxR97+nDTkSiPtOyC9jwi/Ah6dR1QoZ2I1NYHxZArKF9rUhp76A1kvt+K6Oh2De2vkAj8iY5tNlTIVZdZn8WgNN7hHZI7Wg2HF7q+TQX4seNmYtxTU7d3YF0mPrMw7oNsNvsMAq/PPOQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780233629; c=relaxed/simple; bh=t5nUZjYgSkVKmSRq6mBtJWJ8P347BRiNys4rsUtgqQs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IX1gSL/gGg9JGN5jERyJaXhVX+lM6Ek//z8l8gh1i5nwcdk6VNutp3dlMugEzzZu3DEMJxpptIvnZcswh1gRG8YdGV/ndzj/Osztn+VRr40z3ZAT6y4EQ/PGYMr2O6J/C+h8KZ9XGUCiqRcuM5EsvyU4RvK1cagi4+QNq/Uevx8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=FjdaiOeL; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="FjdaiOeL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1780233617; bh=t5nUZjYgSkVKmSRq6mBtJWJ8P347BRiNys4rsUtgqQs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=FjdaiOeLjW/3UuayJRmmUmK0oFgzynrPJYkDa6qJ/fxesYKiKSICHJ4mH1f+z7U/M UrVX07M0bDeTyf0Ld12g3U7z+7e0njFnDl8Dvj467WFBLbn/7Qob43vvJpl37wMCai G1OQ0+zqNKpCPad1yEqVU/k6pEtBX3k5OPgbHCA4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 31 May 2026 15:20:16 +0200 Subject: [PATCH 2/2] platform/chrome: Prevent build for big-endian systems Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260531-cros-big-endian-v1-2-0cc90f39c636@weissschuh.net> References: <20260531-cros-big-endian-v1-0-0cc90f39c636@weissschuh.net> In-Reply-To: <20260531-cros-big-endian-v1-0-0cc90f39c636@weissschuh.net> To: Benson Leung , Tzung-Bi Shih Cc: chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1780233616; l=1221; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=t5nUZjYgSkVKmSRq6mBtJWJ8P347BRiNys4rsUtgqQs=; b=eYjP1MPSWdaFbdAffDH3PUIYcermqBYx7U7ibpKFFPrRaEakTcdECK4O9b3IeINYOQvzQHwVy WoI2HvzUXVMA7JjOhV+96OxCPotBmSJt0pMzcVPHo2zEZLaVrH+VQLd X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Both ARM and ARM64 which are a dependency for CHROME_PLATFORMS have seldomly used big-endian variants. The ChromeOS EC framework and drivers are written under the assumption that they will be running on a little-endian systems. Code which would be broken on big-endian can be found trivially. Some examples: cros_ec.c: suspend_params.sleep_timeout_ms =3D ec_dev->suspend_timeout_ms cros_ec_debugfs.c: resp->time_since_ec_boot_ms cros_ec_wdt.c: arg.req.reboot_timeout_sec =3D wdd->timeout Prevent the build for big-endian systems. Signed-off-by: Thomas Wei=C3=9Fschuh --- drivers/platform/chrome/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kcon= fig index 78acc052377b..ca2e8442026e 100644 --- a/drivers/platform/chrome/Kconfig +++ b/drivers/platform/chrome/Kconfig @@ -6,6 +6,7 @@ menuconfig CHROME_PLATFORMS bool "Platform support for Chrome hardware" depends on X86 || ARM || ARM64 || COMPILE_TEST + depends on !CPU_BIG_ENDIAN || COMPILE_TEST help Say Y here to get to see options for platform support for various Chromebooks and Chromeboxes. This option alone does --=20 2.54.0