From patchwork Sun Mar 17 14:54:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau via B4 Relay X-Patchwork-Id: 1912924 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=DnPh+Owl; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TyLdT5DGTz1yWy for ; Mon, 18 Mar 2024 01:55:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A089687F0A; Sun, 17 Mar 2024 15:54:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="DnPh+Owl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E993487D06; Sun, 17 Mar 2024 15:54:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2A2B487D0A for ; Sun, 17 Mar 2024 15:54:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=devnull+j.jannau.net@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 3C13DCE0104; Sun, 17 Mar 2024 14:54:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7AC7BC43394; Sun, 17 Mar 2024 14:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710687289; bh=AFc7n4mKSavFmzkVpvu2rqiaKI0HeqSMl+SkIaar5+M=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DnPh+OwlRnVJp7L70OH64DRnz7tP7RglxlSzO0RoDoK507/PWOB9nJzMFyE8/DMGn ce61soTGgDyNq9K2/d8L426OQx+8FEG8FcEGFMnNto5mdhzhZus7xOuih775XgV1l5 cXgIcfzX929+hcbDsXsNAxTpqrhbrLymtgDGQhXOG+FFisgDDm4jnGlnKEXBTqgy1q /F6HRF7DtTGCvgLjONm3ssocBJAEFKxDmDY/RZQiCaAOeAqM/OTtlbMVnPbFt42uhi Z92NdGT4ja5rJQbw91BHsoe6JyPrA9Fjqnbks0kQkeNIdfAHnJKmzOb8Pvxvy6cPfT G6r2f5yRBPu2Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65F2BC54E60; Sun, 17 Mar 2024 14:54:49 +0000 (UTC) From: Janne Grunau via B4 Relay Date: Sun, 17 Mar 2024 15:54:47 +0100 Subject: [PATCH 1/4] apple_m1_defconfig: Turn on CONFIG_SYS_64BIT_LBA MIME-Version: 1.0 Message-Id: <20240317-apple_config-v1-1-1b862bc140a9@jannau.net> References: <20240317-apple_config-v1-0-1b862bc140a9@jannau.net> In-Reply-To: <20240317-apple_config-v1-0-1b862bc140a9@jannau.net> To: Mark Kettenis , Tom Rini Cc: Simon Glass , u-boot@lists.denx.de, asahi@lists.linux.dev, Janne Grunau , Hector Martin X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=818; i=j@jannau.net; h=from:subject:message-id; bh=5YcL4gGQm/14duZ94SDLQIWzeXI+jl0sijBSTVNX2I8=; b=owGbwMvMwCW2UNrmdq9+ahrjabUkhtTvLOYr3hyr5dS2M71nfZezNDM5i+2pLcPEAi7TH10eu 1786P7fUcrCIMbFICumyJKk/bKDYXWNYkztgzCYOaxMIEMYuDgFYCI9yxkZTv19w7vjddTsNt8l +moWTz7PuCV8ImdDa8FexQPHnB1mZzL8UxPYxBXLo2clv+Dgy5dzk55uNgrby8gsu+R2UGWFy2k PLgA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Endpoint-Received: by B4 Relay for j@jannau.net/default with auth_id=62 X-Original-From: Janne Grunau X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: j@jannau.net Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Hector Martin This makes USB HDDs >2TiB work. The only reason this hasn't bitten us for the internal NVMe yet is the 4K sector size, because the largest SSD Apple sells is 8TB and we can handle up to 16TiB with that sector size. Close call. Signed-off-by: Hector Martin Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis --- configs/apple_m1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/apple_m1_defconfig b/configs/apple_m1_defconfig index e00d72e8be..31d966f0ab 100644 --- a/configs/apple_m1_defconfig +++ b/configs/apple_m1_defconfig @@ -10,6 +10,7 @@ CONFIG_SYS_PBSIZE=276 CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_BOARD_LATE_INIT=y # CONFIG_NET is not set +CONFIG_SYS_64BIT_LBA=y CONFIG_APPLE_SPI_KEYB=y # CONFIG_MMC is not set CONFIG_NVME_APPLE=y