From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6177606A31A for ; Tue, 1 Dec 2026 04:16:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=zqbbjEHm; dkim=pass (2048-bit key) header.d=nabladev.com header.i=@nabladev.com header.a=rsa-sha256 header.s=dkim header.b=F/5GkciI Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 80F2C80FDE; Tue, 1 Dec 2026 04:16:52 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZZZyBqlzxbJY; Tue, 1 Dec 2026 04:16:50 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 654FA80E63 Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796098610; b=Msb5Vqw0iFcrZwPwVqC4VsbQf1mSbr6f6g7HzwwjWXd8hlN8RekDNwNvTQb4tfrk1bft W31go3yaON2Z/w8qvfC3JhmDlpbBcVJ0CqZnUrWRcFuA/dNfqh1uGTSPOrocK99s4wRkP xuKsj8od1ms/BDDAf9aR1USuDa8p1lT9HbTLL6C76Sor7UNTU04eL7Hn0XdJ6TmaCFZsp FJxzx/8lg5+xuh/XmRllkYJ+VVYchef5F07FUnm7OJO6t7XAuArJtHA9B3xhjH5V4nVOQ ODgtjV3CwqcmG/tAgQYVGJavx5tKgnyNXQZkVO7wNTVJHoe68bC54aW1fvbg7P4JGqA== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796098610; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:Cc:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version:X-BeenThere: X-Mailman-Version:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Errors-To; bh=rf8lGh02CXt6Fa/GXdKMOqUdtpRE72BlAjhCMzEqNYs=; b=FiZYjpMH41uObmA+ij6o69CCM5Luy6e5dHTmelamDHHqIf1/TCKpHFJ7zbVlCK84foii N70aEtiXckMCh9J5KSujgwrGklKl2nePrLGZ5FK2WHhefuJkc5Jkz9SGAbtPgzrYr/AIv rsZdnEVGIzCZQplFqRKOqFGOW9BCpTqOA2N9azOKpS1iiWIXTCJJ+1RH6on3yTYvnEKHL 2+jiWXAMCrNz3K6sVLbYZ2DjxcnvFBrc3zinsuBX55936Ed/G39rdDsGNXAWSsF2xi82v 0Fy1fUx6Bmm/53WZyuwhvpIyvDGQ3CaO4gzLKx9uSIpSUbo0BNJn7y9sCAfF0F1QO8g== ARC-Authentication-Results: i=1; smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796098610; bh=rf8lGh02CXt6Fa/GXdKMOqUdtpRE72BlAjhCMzEqNYs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=zqbbjEHmMCFWNXigpbwvBvOmHTm2KUHM+nFjR398p+WNGNzks1RTtwMycde+ClofO n5q8GOBJRqXgX6MuI5rP+fLhrC3vXcz7U2yEcHQeO0yOMxt/P9t+u09x70DOH5RAlY GND/k+VYYbNXCak5H2HKF0Je4+dGfGsMH7h/XwbnuM+MypCOoOtYv4b+/+8k4b3eXQ RoPQIDZF6bEeXiZ8SvSSdurLalh+5bYuUeOn8cDhMKD3iB9LyMxX+L7DvHAiekfTYX DOA8LfWFqBbyQrRiWTP7Lp4FXYDW+5wHe1uszCZCNWPDhBfbGDJFGZeLYreeYgCrQV YerHoSO0iHixg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 654FA80E63; Tue, 1 Dec 2026 04:16:50 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 2F871373 for ; Tue, 1 Dec 2026 04:16:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 20E2860771 for ; Tue, 1 Dec 2026 04:16:49 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id u0PWRDhfIb9f for ; Tue, 1 Dec 2026 04:16:48 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org D94376076D Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip="2a00:f820:417:0:178:251:229:89" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:f820:417:0:178:251:229:89; helo=mx.nabladev.com; envelope-from=hs@nabladev.com; receiver= Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=nabladev.com header.i=@nabladev.com header.a=rsa-sha256 header.s=dkim header.b=F/5GkciI Received: from mx.nabladev.com (mx.nabladev.com [IPv6:2a00:f820:417:0:178:251:229:89]) by smtp3.osuosl.org (Postfix) with ESMTPS id D94376076D for ; Tue, 1 Dec 2026 04:16:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6CDA0107DA7; Tue, 01 Dec 2026 05:16:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com; s=dkim; t=1796098601; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=rf8lGh02CXt6Fa/GXdKMOqUdtpRE72BlAjhCMzEqNYs=; b=F/5GkciIiV9+fBj5dGc9cMjF/3SCAGCH25g5swfRxVApAYYl0BT48p2nhdNQsIngvNk/nm Ca5dWYP3bB0tdjz1VoNKquW4IJSVJChYKZVTnF3l+QOBrJ+JazqcQomfq7KBhJuXfkz9+G oVOMn8jdaQFwcc5aNICvJ3MAudVqGHO89rZKVxc+JyXpqNWbmVWI7XlJE1jLQ2ofX4OJFh OMCxgRkgXbf6j7cVMLNPq9bd2QK3Yhbd8fYH/zBGeTn8CXvOgD81E2KKQ6ByuFLKNLHxYK p07dZgyCMXe/QRFCZHuR/plUmWdcLs2MNgfxXIkjsEyWhtPqX0P4YkMBg1zuhw== Message-ID: <96c0cac9-e248-7b64-e653-de22dced5ffa@nabladev.com> Date: Tue, 1 Dec 2026 05:16:39 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v2] serial: mpc8xx: cap SMC receive buffer length Content-Language: en-US To: Bradley Morgan , Jaeyeong Lee , Christophe Leroy Cc: u-boot@lists.u-boot-project.org, Tom Rini References: <179024275173.70674.16356876476594066413@proton.me> <179579209485.3201180.9953622119991566579.u-boot@jaeyeong.cc> <179582176494.3807001.3645437772294577275.u-boot-v2@jaeyeong.cc> <1c11e94f-7437-07b6-3ffb-d73aa6c4aa78@nabladev.com> From: Heiko Schocher In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello Bradley, On 30.11.26 17:15, Bradley Morgan wrote: > On 30 November 2026 05:19:46 GMT, Heiko Schocher wrote: >> Hello Jaeyeong, >> >> On 28.11.26 00:22, Jaeyeong Lee wrote: >>> The MPC8xx serial object starts at DPRAM offset 0x800 while the SPI >>> receive descriptor starts at 0x840. The serial receive buffer begins >>> after two buffer descriptors and an index, and is followed by the >>> transmit byte. >>> >>> Cap SYS_SMC_RXBUFLEN at 32 for all configurations. This keeps the >>> complete serial object below the SPI descriptor area without coupling >>> the serial configuration to the SPI driver. Document the constraint >>> next to the DPRAM layout. >>> >>> Link: >> https://lore.kernel.org/u-boot/179024275173.70674.16356876476594066413@proton.me/ >>> Signed-off-by: Jaeyeong Lee >>> --- >>> Changes in v2: >>> - Cap SYS_SMC_RXBUFLEN at 32 regardless of whether SPI is enabled. >>> - Drop the static assertion and document the limit near CPM_SPI_BASE. >>> >>> arch/powerpc/include/asm/cpm_8xx.h | 1 + >>> drivers/serial/Kconfig | 1 + >>> 2 files changed, 2 insertions(+) >> >> Thanks! >> >> Reviewed-by: Heiko Schocher > > thanks for reviewing you lot, mind reviewing Jaeyeongs second patch? I > suggested > it being a series so it'll be easier for me to apply you mean: "[PATCH] powerpc: mpc8xx: remove unused I2C DPRAM definitions" looks fine, just added my Reviewed-by bye, Heiko -- Nabla Software Engineering HRB 40522 Augsburg Phone: +49 821 45592596 E-Mail: office@nabladev.com Geschäftsführer : Stefano Babic