Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1070459rdb; Fri, 1 Dec 2023 06:24:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYmB4rlwGY4Th2V4dkK9N11aVgl/F54Lu64yItf/IJktyNkdO4wEzTaDl1deCRSBJaLpMr X-Received: by 2002:a05:6a20:7b20:b0:189:bde9:9cb0 with SMTP id s32-20020a056a207b2000b00189bde99cb0mr24278594pzh.27.1701440676280; Fri, 01 Dec 2023 06:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701440676; cv=none; d=google.com; s=arc-20160816; b=ftthrLDJ+b8OkdD5zcSziozo8ehfTuZFDGbfKNyw3753z3ER8Cwq9gREGj0dmnmzNw 2b20GwPGJWVeblvKv7RbRq8wyaboksKwyMyF6vuZIEUbHDgxu3/4DctxitfTPKeswavu /UMNglhQgotwfPGMr1F99RD8cQG7wM1ALKxbekV23Wr3i4RgQJ+HFz5rar9z4zs58V/M qdM3JEd2PK0WCeXAKH3G3L0m1SFKyDhvLiZQyNtz8rIiTgi914zdvQYS94QwX311Jqeg 7C90nW8EV5cfDeAoIkn23EK/Ml0JXISs0nsf6vho3jqjQoJtv++kJma3S/BcD5H9SrWK 7EMw== 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:date:from:dkim-signature; bh=cnm9xET3gpVMzAmdfqU6W57IEJsB01S0uHawBahzWkw=; fh=5jvemeicXfuOrrHIAuQUZIFOJV3BVeEpqvL6iiiRLY0=; b=WB+fLpKzXpaHMBddDNAGS+cYPUcl5VctYdowSji3ok3pm5G9TBYFRo9C52R2SaTBPe iI0+QXwlnmDn215e6POfSbQ51hKBe9yBJ31kXwA/HtWMxGTTqs24bB2e7QYRyB5fnyxw qUPvyz0ijbt0Cc3RDgjTnCf0WOaIMD3pPLS0eWqRJkvBR0jyLcnVu9gw5btqkGeZqtXY 2D2g+nr/yqGf4acyYfCqRCcG0Pzc8fQoml5Ak1krRP7F2eGBX9+ENy0Fc7JnuNXeTI3r UsJlIdX+yRp8VruWX1yRzQOvMUxXFMBfBI5g0NqE3JD2K7tTdrD+UBlPRRHhOv01CCs+ lqhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foundries.io header.s=google header.b=DV3hmUIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=foundries.io Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id w5-20020a63c105000000b005c26e59bf98si3402582pgf.855.2023.12.01.06.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 06:24:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@foundries.io header.s=google header.b=DV3hmUIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=foundries.io Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6745B809C3A7; Fri, 1 Dec 2023 06:24:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379152AbjLAOYM (ORCPT + 99 others); Fri, 1 Dec 2023 09:24:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379143AbjLAOYL (ORCPT ); Fri, 1 Dec 2023 09:24:11 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21DE710FD for ; Fri, 1 Dec 2023 06:24:17 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40b40423df8so19046335e9.0 for ; Fri, 01 Dec 2023 06:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; t=1701440655; x=1702045455; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=cnm9xET3gpVMzAmdfqU6W57IEJsB01S0uHawBahzWkw=; b=DV3hmUIOSngEeQ3dSL71MQ35B85JYTr9I8k2h0kY3xJkFxt3CFuD759C0BC5nf704k y1gTZbRk3UCicp0pZpj/N9HPMnDCBUtf1Nk8uB+5HaIyqJhptTMwT6LHcKEg91rrP/RB 69iOTrFjEdbrzHrxjOZdTc8nS/rVGXwMK98vxUAMixUl8bURdIlextLfoPm4HWIQllsp sQcMIzuMOw3OgsNtpKrhvrzNyVQAGe9uAul48H24z1EccgOrBXsP6fXIhsh3nHKY9vhK foJA9YqlJBHvAJEeMhwvWBOIjRHN4RbqO4463u8kqJ2um63/kB6PohdrRh9lge0RRWra f+4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701440655; x=1702045455; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cnm9xET3gpVMzAmdfqU6W57IEJsB01S0uHawBahzWkw=; b=fhE5XUf5UTLiNKbvvop/Ovy5Sswtk9PJ1B4lnI0hSubdo/UUKW/T/y1++QmRo2lbYD NMzTDazWt11AdiGtZCWzMke59D6i+HVOvE+mkE/WHN6SHm47myZd9mqQwgJWi3rxeJw6 ODTvtn46oRwmv5Vz9MmZ7NQkfd7gJhsOpShXSWrrduYocQ7VtrZwUZnxnBH5gp/0a4Fh mf/2YyiTC9zo9vduCnST6E6jy/kmwJ6z6W4OfmMm3d/8TL1POipV389Kx0BbudIjH9Zl Xf2DQclmlh7IJD6HCpGq2FTkt/8DEQKKS1JnfqUW7eycyTBRMFse35uBqDmoxjj6lThB pU4Q== X-Gm-Message-State: AOJu0YxZAkbdSpzz3wxpFl/x97AOzqdlDfZZNtxS6JDFNrHL0x2j6Dt7 l+anrGglZB8P484W4oTd4mHuwg== X-Received: by 2002:a05:600c:5008:b0:40b:5e4a:40da with SMTP id n8-20020a05600c500800b0040b5e4a40damr321477wmr.250.1701440655573; Fri, 01 Dec 2023 06:24:15 -0800 (PST) Received: from trax (139.red-79-144-198.dynamicip.rima-tde.net. [79.144.198.139]) by smtp.gmail.com with ESMTPSA id j11-20020a05600c190b00b0040b47c69d08sm9218703wmq.18.2023.12.01.06.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 06:24:15 -0800 (PST) From: "Jorge Ramirez-Ortiz, Foundries" X-Google-Original-From: "Jorge Ramirez-Ortiz, Foundries" Date: Fri, 1 Dec 2023 15:24:14 +0100 To: Greg KH Cc: Jorge Ramirez-Ortiz , 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: References: <20231201100527.1034292-1-jorge@foundries.io> <2023120139-untried-unholy-456e@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023120139-untried-unholy-456e@gregkh> X-Spam-Status: No, score=-0.9 required=5.0 tests=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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 06:24:26 -0800 (PST) On 01/12/23 12:22:57, Greg KH wrote: > 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? ops so sorry (was WIP and got distracted press sent and forgot), will fix and add Linus' Reviewed-by. > > thanks, > > greg k-h