Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp989184rdb; Fri, 1 Dec 2023 04:23:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFWZfQoqmGY/cXPLjPuKTa46DcjzPQffV6cOU3H27nL2IuhcJXJchEh2a2eTMQQs6Bbesf X-Received: by 2002:a05:6358:e489:b0:16e:29cf:33b3 with SMTP id by9-20020a056358e48900b0016e29cf33b3mr21597416rwb.30.1701433396646; Fri, 01 Dec 2023 04:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701433396; cv=none; d=google.com; s=arc-20160816; b=q3AVbIm9dw2guBEQzH/tPJvwu/8QqHAkB4sDTNcYNicE306Sgg9u6fyihoMToZwxwR p5JxM0K9YgXBvmvMyYnN90NvDP3q+HOgeR9eh4ZlnOscNfy0sQIMQhikcoKpPx+k7JF3 NLf24A8dgqO3PxT0Ep+6k6C0B5tfnaHS4049b/RzZgOpFhmv4zD5zH/ULYblsUCtCMgX bWt20PETHmpYcp2u3UNRzd++E4flnz3z+xAVQLlf6jEYK1Hek6LeUE0PZEY9x+DooHMc S15kVI56v7IVbDExi0sdYCmvfRd/mY1/BcqyF7E8x7l77T4Ze8Hd37b1/tPhJWb4Ozen xnVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IgckyBBVcQUyYEH+A9K1VuOW+AgMYbYKD8/Xl+rRc9w=; fh=DynpU4v6jW+/PAAMMZ1QSghRQZVYfGdk1oxSd49/RZs=; b=gqL0vaqwS0E4mNSMBLTpLJx4Ts/ojf+WnIwJCntiJvPNpiFKXUZPXdd8orhCVwdpRi lucfoRy7r1zXSG1W9y2VbzBWfxfQ2L7XTWR2f99FaSSgNGqcm2RM4hi5y+XHJhnkuO8Q c2yZi+BQBLcBShdZBRhK1XG2H6dBxxZQPhHLPB1vTL+p98QoAx7UbiJvJUbI609I/TyS 5jn8JhLfA8er04FLvyRz0aLE7gsTtGBH2lCwXyH4LbSdYR5XzcW9PKWgqew3lU1GwtXZ wGnI9t66AghEMpcvUWywSh/aePNxRuovJmZ50XbP1AYT0tlnKjdDiynlm3imTXZ98Egv brLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PDpsz72t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id e21-20020a656895000000b005b8615b9fe6si3105136pgt.287.2023.12.01.04.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PDpsz72t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 7CD89845651C; Fri, 1 Dec 2023 04:23:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378803AbjLAMWy (ORCPT + 99 others); Fri, 1 Dec 2023 07:22:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378790AbjLAMWx (ORCPT ); Fri, 1 Dec 2023 07:22:53 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62997D48 for ; Fri, 1 Dec 2023 04:23:00 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B293DC433C7; Fri, 1 Dec 2023 12:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701433380; bh=h06/4p1GZzaajczTIM5HZpG3PzVjvySvL9yjyPOr2No=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PDpsz72tyQHBZLXGkq3eKdNAOh3JKY370uKvEIiI97rNlCWa1YvUVyHIXgZUfJSJu R6TvgsEW9a+lDZRm1+GvG0h9mm+MvB7bbs1jFTj6/Kov1Rs5aVPddZulGfRnmXDDIj Y9+dXvYDmwyjGKqxO5Ob4wD/S3+SiZfZONOAJnC4= Date: Fri, 1 Dec 2023 12:22:57 +0000 From: Greg KH To: Jorge Ramirez-Ortiz Cc: ulf.hansson@linaro.org, linus.walleij@linaro.org, adrian.hunter@intel.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCHv3] mmc: rpmb: fixes pause retune on all RPMB partitions. Message-ID: <2023120139-untried-unholy-456e@gregkh> References: <20231201100527.1034292-1-jorge@foundries.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201100527.1034292-1-jorge@foundries.io> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:23:09 -0800 (PST) On Fri, Dec 01, 2023 at 11:05:27AM +0100, Jorge Ramirez-Ortiz wrote: > When RPMB was converted to a character device, it added support for > multiple RPMB partitions (Commit 97548575bef3 ("mmc: block: Convert RPMB > to a character device"). > > One of the changes in this commit was transforming the variable > target_part defined in __mmc_blk_ioctl_cmd into a bitmask. > > This inadvertedly regressed the validation check done in > mmc_blk_part_switch_pre() and mmc_blk_part_switch_post(). > > This commit fixes that regression. > > Fixes: 97548575bef3 ("mmc: block: Convert RPMB to a character device") > Signed-off-by: Jorge Ramirez-Ortiz > Cc: # v6.0+ Why only 6.0 when the "Fixes:" tag goes back to a 4.14 commit? thanks, greg k-h