Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp203633lqi; Wed, 6 Mar 2024 14:40:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVU7Q/Dm8+BSLY7YsjMGNoKZl0atfnyzBTATKsaatXttNSgyrWULXDo5oVGq1uNONNF7Dt4Y/bb1bysKkVLVqfP4TpFve19GgeHnOlDdw== X-Google-Smtp-Source: AGHT+IHVYFnrys8mmPNBwn3Ohgp3TaEZ9d0XHYRPdLWPA3pK1GAC9dwtZzIgBS9wO847zEhCT400 X-Received: by 2002:a05:6a00:181d:b0:6e6:4dfe:a4c8 with SMTP id y29-20020a056a00181d00b006e64dfea4c8mr2163662pfa.4.1709764801957; Wed, 06 Mar 2024 14:40:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709764801; cv=pass; d=google.com; s=arc-20160816; b=oIUg3kg6o4czEJ1W3BM1pgSbdwJrTT01MrbWaGZJH01KN9Vcd7js/FbhhjjXYunZG0 GpkUM51fR9vOHNEJJrXD77mv9oukIXxKfWKIb1XU7JFdt+0ScQtUHlue56yzLABvvt3Z Yjxg70vLOVHthM6CqywBLQTa3iKLeK/y7LIbCnY+k4pJXYDoVKIqmFU7hgUhP3NDxy24 bmJTWaHZ5IUIlM0ETC4wUMU/5sWE3xm2ozR3iOGD9zdIogtF+MENMBhMqrgtPCN8f0fj DJ5LAjuyB8yJKrP7tRwBSXdGuvbOOVplwlMwUjLR4NV6CX35TW+IRqAtWiLzNPZ6+jtq 5ZQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=JxK17bHEwL0YPMpQY4ljZfLKRGGd9JkkHlt2xcABl+s=; fh=tXLjdR+obp/eWxY3U3JfvQXg27dWNZ12Sl5PKe+eVzg=; b=rW6nEV7SLXJc/afNazbk72TvgesEhlBdOn4y8qgfysd+QCg1wPAWrmJnDZJvKiyU6X UjYP9IpJ/FNK5nQWtEoD89AJvdEIwVfpZJIQNbT/v8axQcuVXhdeD0KlUd+Jf3SKi+eR uM/S0eGnez8OpsCtYqPqJOLHO2sWG+QbKC12T33Vcp6dWiNfR1sN6SV3LZOLCiRKeJO8 qTrSvd/2owvIXdotqF8ETvXFr9ScTwOTh0YFcY3rl6wwcEPOhB3v0m7X76+8MmaC1M3D r6Sw73qRK+Y8KBP1u2Qmrqk9TpEsjGsVAEOMDgFg9vMyyeUgr2OdIeBYUS78eb6Iaois yWAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pThmoOQf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y10-20020a63494a000000b005d73172aca1si12887581pgk.861.2024.03.06.14.40.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 14:40:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pThmoOQf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94667-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9D2BF28586A for ; Wed, 6 Mar 2024 22:40:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7AD61C68C; Wed, 6 Mar 2024 22:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pThmoOQf" Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D87F1C2A5 for ; Wed, 6 Mar 2024 22:39:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709764773; cv=none; b=oPg95UWPU036dSuoNVQURAbFQnPM70EBZFYbv9vXu0OY8EB3PG+0XeYnSBPDX9ATkg/o/TQ7uNpdVf3VAawHOItXULL0MV6hCIQDVXwYETS5lpbnDFhsTdY6KUADCyZSWXQRjXVVGnWwdcxh89JgM3z4BPKiMvlr5W36+iK72Lk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709764773; c=relaxed/simple; bh=JxK17bHEwL0YPMpQY4ljZfLKRGGd9JkkHlt2xcABl+s=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Dle3xWld9PkBhCsxpJhfHxcAR8WcGbvw5sv3NrGy3lbo2OdA0cV09G07avbFpWrTShtItqd+wzwxpOfElPbsGx2PX6qvo9flqh3rtblEqU9VRu8uHkyS5ZwyaDcvDtXBqRzL8BXIaV0m0InjYSLZlCVn9Ms/BLmp7hsihWqIrws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pThmoOQf; arc=none smtp.client-ip=209.85.219.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-dbed179f0faso1110287276.1 for ; Wed, 06 Mar 2024 14:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709764770; x=1710369570; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JxK17bHEwL0YPMpQY4ljZfLKRGGd9JkkHlt2xcABl+s=; b=pThmoOQfMz+w/vR7mFY0J5Qc+bczUVAC1A81/prY6W3YPurWE4Bb88z60JRKwMNONn EgZ/korQnPoPIGuD5J2Y0TIbwdEJc8y59X4l+4RSfPnX0V7pamJcztyDgURUpOM44Ihe bUM9fb6wghwFVAQ2/0FHyrMUakYeNWeOsqjpYHfogZhpZVFddKtrfRZU+Eu+JyC4oJn9 Vt95RkVzgU+AK2Lyxu4I9GPV9vSZjj6lp4UCqL9b+StJHYDUI22sWdyPKOwCvCYmBprP ZsECEwZWw+UpvwX19PUAFPRAFc1gwwoqRmNoSIWwDY8eWng/+/+44RnGEkGwIeKvEuMo dI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709764770; x=1710369570; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JxK17bHEwL0YPMpQY4ljZfLKRGGd9JkkHlt2xcABl+s=; b=HOpfMDwGABRYOaKLarvWR2SuhENN5jYnlZzlxsYpV15LMrrxgT9qD16F8nPTnTfqo6 3iVPGV8G15d/e3bhwNHWBCp/yEqg+rKvshpPS8rotM9C7mmXN+AxRcGgw7sh0ykzYrJF z0dsQffZa+IfjAB4dfw7ra4Rx76O2DWDcLxvVqfG1umN19S8D6rzeFFbNB5uHJzjEtLq SqYEcuExuITD3D3cMZuqiGhLhdoQXs8Flzm3NQ6uHko9XipdMkC9KoxpBZ/kaUfH3ick hR9kANqnypJyij3orItu8DiS1FOLYqpNa1dExRDDdvBNmatccgzmrjkANm0IbwOoMHKJ y76Q== X-Forwarded-Encrypted: i=1; AJvYcCWpH2Beg7griVyc0GFCX9alqdXFnqqZowHQ/a6ly48AEUtbFr+0r8CvaqSQAYz4sF1g6Yl1OcrPG1zRzqOOozfEVGoPay5L9KuWFR4L X-Gm-Message-State: AOJu0YywE9nl5Si1msTlFDSGwrbdgNF1v6vSW1MZjISmu1p/pavlpFy0 d1mT6hSrgF9jRoEhp4rfIZKWeVTLQ1coO4wmB731a/8JzblXHJpocoP8VG08ECmdd9zS2tmHlzF LUvb4KNkkjg0UyXpjC+NAsBs6BGU7NRkbl0o+ew== X-Received: by 2002:a25:d652:0:b0:dcf:eb30:c580 with SMTP id n79-20020a25d652000000b00dcfeb30c580mr1222007ybg.3.1709764770305; Wed, 06 Mar 2024 14:39:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240306-mmc-partswitch-v1-1-bf116985d950@codewreck.org> In-Reply-To: From: Ulf Hansson Date: Wed, 6 Mar 2024 23:38:53 +0100 Message-ID: Subject: Re: [PATCH] mmc: part_switch: fixes switch on gp3 partition To: Linus Walleij , Dominique Martinet Cc: "Jorge Ramirez-Ortiz, Foundries" , Jens Wiklander , Tomas Winkler , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Dominique Martinet , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 6 Mar 2024 at 20:49, Linus Walleij wrote= : > > On Wed, Mar 6, 2024 at 4:57=E2=80=AFPM Ulf Hansson wrote: > > On Wed, 6 Mar 2024 at 15:38, Linus Walleij w= rote: > > > > We should probably rename it part_cfg because that is what we > > > store in it, it's assigned from card->part[idx].part_cfg. > > > > > > Then the id field in mmc_rpmb_data should be deleted along > > > with all the IDA counter code etc and the partition name hardcoded > > > to be "0" as there will never be anything else. > > > > Seems reasonable to me. Are you thinking of sending a cleanup patch on > > top of $subject patch? >? > Yes I can do that once this patch is finalized and merged. Great! I don't think the $subject patch is perfect, but it's slim and suitable for stable - and of course it seems to do the job well. I am therefore queuing it for fixes, thanks everyone for helping out! Kind regards Uffe