Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93B6CC6FD1D for ; Wed, 5 Apr 2023 00:01:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C8D5859B4; Wed, 5 Apr 2023 02:01:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Lz3M3glH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A437E85927; Wed, 5 Apr 2023 02:01:41 +0200 (CEST) Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9FAD2859B4 for ; Wed, 5 Apr 2023 02:01:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-54184571389so647107507b3.4 for ; Tue, 04 Apr 2023 17:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1680652896; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=JcEFTDKY+72gl0cRYr7sObNjI0u3CE7kNzFcBwMu5p4=; b=Lz3M3glH1SqdVto/D6VcChc6m90ZmSUkncSyPH/cSbo6KBNeip1IU5UjDMyffspHB1 l0XhMulcuC7CZK4+MAUP6hzNpFjI96I4HGbDbQu0cIieToKX5R7WP5Suy2ZdnmhqwMPd yfkeePGXyPuOOoa3HQQ0O7nIBmT35EMGPbwOg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680652896; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JcEFTDKY+72gl0cRYr7sObNjI0u3CE7kNzFcBwMu5p4=; b=K41SnQIf3A8Qai7TZxDS71UFOXPq2sEAFR6CTY1qegvsivQhaNm0QE1wHgAyW4ohOs ODCxc9rNE/JQbwzdGeONanCnlnc3oW7PxJCvSUcR11TCkMZWPRMuiRuB553fyc76s2cS ELj+sO49CpvyRjXrOh9LFcb/6mzdx/BWxrPbbKdi+AjXZz9sO3bQeipuSsWvQwpIZX3h fH0Wsl+nGFwBag82JD/Y9RAiier6F1ybm5b2Oz8WcinfLt6ZFzl8fSpHL9/Tx/kRAGo/ xGDFyBPSA43GO8OtzTpzGfgKw6uuqp+LGDs9k586eUTLSuKE+Ad0nwPWfVcmp1MMO4ZQ wUnQ== X-Gm-Message-State: AAQBX9fF6T5jZl3+BEt+oLMdRj/la2VkV9ouO0IoNLgloVWy9GynFm2S kj3IReZBtQW/I1PqHCeMpAbA7w== X-Google-Smtp-Source: AKy350ahNXHWbop/QtEiHf6PTSz4BwQW5z2QGb0CF9KL7irYI8iE6k7MJQ3khMb45tCYzHwvLmmlGw== X-Received: by 2002:a81:7bc1:0:b0:541:64e4:2092 with SMTP id w184-20020a817bc1000000b0054164e42092mr4113485ywc.44.1680652896353; Tue, 04 Apr 2023 17:01:36 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-8320-670c-12cf-1d31.res6.spectrum.com. [2603:6081:7b00:6400:8320:670c:12cf:1d31]) by smtp.gmail.com with ESMTPSA id 203-20020a8113d4000000b00545a08184a9sm3537261ywt.57.2023.04.04.17.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 17:01:34 -0700 (PDT) Date: Tue, 4 Apr 2023 20:01:33 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Marek Vasut , u-boot@lists.denx.de, Fedor Ross , Jaehoon Chung , Peng Fan Subject: Re: [PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through Message-ID: <20230405000133.GT1134230@bill-the-cat> References: <20230404180515.49821-1-marex@denx.de> <20230404180515.49821-2-marex@denx.de> <20230404192554.tomt56cdsxn6qhwh@pali> <20230404221641.jwfy4qdwxekhhsv6@pali> <20230404224454.bv2eunxsi2xodxwq@pali> <0efe5a41-1f11-376f-998e-5e98ab252566@denx.de> <20230404230935.ptvry5zrqaw3hjhn@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6tn++KLCooNL7dam" Content-Disposition: inline In-Reply-To: <20230404230935.ptvry5zrqaw3hjhn@pali> X-Clacks-Overhead: GNU Terry Pratchett 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: , 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 --6tn++KLCooNL7dam Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 05, 2023 at 01:09:35AM +0200, Pali Roh=E1r wrote: > On Wednesday 05 April 2023 01:03:49 Marek Vasut wrote: > > On 4/5/23 00:44, Pali Roh=E1r wrote: > > > On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote: > > > > On 4/5/23 00:16, Pali Roh=E1r wrote: > > > > > On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote: > > > > > > On 4/4/23 21:25, Pali Roh=E1r wrote: > > > > > > > On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote: > > > > > > > > The eMMC HW partition 0 and 7 both mean USER HW partition. > > > > > > >=20 > > > > > > > This is not truth! > > > > > >=20 > > > > > > Can you please provide further details to back your claim ? > > > > >=20 > > > > > Yes, see a patch with explanation which I meanwhile sent: > > > > > https://patchwork.ozlabs.org/project/uboot/patch/20230404202805.8= 523-1-pali@kernel.org/ Please note that I'm not sure the comments in this patch are a correct reflection of what the code does, or is supposed to be doing. I need to go and study everything there again. > > > > This very much adds a comment that looks like the content of the se= cond > > > > paragraph of my reply, see below. > > > >=20 > > > > It is a good thing you mention the aforementioned patch, since exac= tly one > > > > line past the changes you implemented is the following piece of cod= e: > > > >=20 > > > > https://source.denx.de/u-boot/u-boot/-/blob/master/common/spl/spl_m= mc.c#L382 > > > >=20 > > > > " > > > > int default_spl_mmc_emmc_boot_partition(struct mmc *mmc) > > > > ... > > > > part =3D (mmc->part_config >> 3) & PART_ACCESS_MASK; > > > > if (part =3D=3D 7) > > > > part =3D 0; > > > > " > > > >=20 > > > > Which maps 7 to 0 . > > > >=20 > > > > > > This kind of screaming feedback with zero additional informatio= n is > > > > > > worthless, sorry. Before you proceed with any further replies, = please have a > > > > > > look at JEDEC JESD84-B51 section 7.4.69 PARTITION_CONFIG Bit[5:= 3] > > > > > > BOOT_PARTITION_ENABLE , this is what is being discussed here. V= alue 1/2 is > > > > > > either BOOT HW partition, value 0/7 is treated as USER HW parti= tion by the > > > > > > boot code. > > > >=20 > > > > Please read the paragraph above, I do not see any reply to it and I= think > > > > that might put the conversation back on track. > > >=20 > > > I have read it and the reply with explanation is already there in my > > > first email and also in the linked email. > > >=20 > > > What you have written above in not truth. > >=20 > > Very well, I think I will defer further judgement to the MMC maintainer= and > > stop participating in this thread. Constructive feedback is welcome. >=20 > I see that this is your standard trolling reaction for a very long time > if you do not have any relevant argument; or when you are lazy to read > replies from other people. That's uncalled for and rude, Pali. If you don't have anything further to add, technically, there's no need nor justification for such language. --=20 Tom --6tn++KLCooNL7dam Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmQsulMACgkQFHw5/5Y0 tywDxwv8CdrVnODMpJD4SRYnh2tZ2kEMIiC9j+PH2TnWoHFhL5EcDaHPsGM1B+vu aiLdqCsPQKYLydwAr7eliiYwfJFfzCnjiiMTus88YSF3fHQ5gcucQFujqsULK/vR oN/b/5kA2doSnIIlStdQlwe762k+IsNzlfayZw7Ce/dozqkysooOSrK9DcMMm/dQ OIy0kw+2vr9h8WcDrD0d6oTVBqvrqPRKq2g7Z5fZl3sMT0iCG92iUTVJHWN2IkIX AM6ix6X9aQo/jD4bE2hGalEUFUPRbE0VQgCcj2LzGSYXw++G+O+tfl7A5CjwYmxr Es7HEGpGHnzGVeMUAqAH+gYNTAdtFOqdMAQps5jeenvNdYAy1ZtOGK9coDBZcoop KBd8EtfqA0CSLJ2VCX+gZ9GjGt8IeUhBppXPv26UDZSjPunlOTw48GM6uEHoz4v/ pdVPVj5i2i7DzjQE0l30ZLXq/EryO5ut75/zSAR0ckjr6lKuMP+bhnCANjpBzW/6 DaMfitpB =a4q8 -----END PGP SIGNATURE----- --6tn++KLCooNL7dam--