Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4738150rwb; Mon, 31 Jul 2023 11:20:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlG2Ewl9TnNkwdD98jtqlbhARK/gTSzKOXegVxTO63+BvNGheLO1nOHtX0LYVtXGNMA+ks+r X-Received: by 2002:a05:6a00:b48:b0:687:2f80:86d5 with SMTP id p8-20020a056a000b4800b006872f8086d5mr6194754pfo.13.1690827609523; Mon, 31 Jul 2023 11:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690827609; cv=none; d=google.com; s=arc-20160816; b=lFN+aqruFw2/VO43xw9F89cH67p8kGoIytLL7TV65bh9z3wEtRDIRCa4/Li9QuQ78c svF5zV9Z/Po3HAMra3eeXzonlrY0ireZp4DPMD9dHs7BEqfCpURWl0h29+r1bAQt+28p 0bCQXJHj6kptnObbWNIf+d3kKjq9jZ2cRhX1JE0yJ2qdpKs5qj9VknWgEFipm02A3APr asBuf6KXAzXZPZWzDnuvYTGbkFRsETZOh6qW7Wbcd4WLl2WS2deuJzU+LaQP+zjUX9xD jI4eiPJQb0SWnm6QIt5Y2bhw7fwbfELaP7F86aVtbdhPW5Ay7p+B+kyg1WYqgPQ9WOjU P0Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/04mzdZdAWjnY4Fmn8mRCyHmZjqyRZ419aYIDV85A3k=; fh=qkJXCpH8+YomtW6OXRi6ZDKGzprdJQ7CQY2myOHlzpU=; b=huKITvOi8YyC7Odk1TorOEaD1/Upu1RlhX+Ysp/8QcwR8Mb0yR2Fz9/RTJIL7XnNPE 4Xobofhq9CGsFmNspgLgIOdXjLrqnK27bcWGKkhmywEcj1n5FqDYwzx1M55ItsElGdJ+ JyWDIf5XbV7Fc8ITASmhz7ZRRD7W8YO/oODP625LgWAtGlFVAIa3zsCc/zzRCmePH+gh 62YXoOEDtsqp2F9gVS6FNVQ6HJb+aZHEsW03bAaBKYF+iM5G5o2oWb1EEbfsx78IsgSt 7/0TGXMYtd7yLk0rp0BHu48/dpJRapbIZsRxAW7r7gjQPVajJTbM1JrIL+uvNoexRjw8 eRCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QGEiMjVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a056a00188100b00687008df88dsi4477575pfh.52.2023.07.31.11.19.56; Mon, 31 Jul 2023 11:20:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QGEiMjVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231845AbjGaR1d (ORCPT + 99 others); Mon, 31 Jul 2023 13:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjGaR1c (ORCPT ); Mon, 31 Jul 2023 13:27:32 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3601A0; Mon, 31 Jul 2023 10:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/04mzdZdAWjnY4Fmn8mRCyHmZjqyRZ419aYIDV85A3k=; b=QGEiMjVGOpgEzUV34YC5Q0c24E MvNOcHiZ9eRK/1Co/pS7wJN/8MACxBXhfI10l7oyiMOLrhCS6yydrAsf1LkrOoaHLILjVInFEBoAn 1T0855574d183TNmQ6U8Y4cGqjoq6QNqV4/gZg8TrkUMasypKcNzK0XrRgZ9TMTcqWlyhUgzEi/Oc mkOdlip1gLGVmvdUL88/36ZTpC7BVNS4zRtdwhhM2NwVstnPl8SJI5UpUl9bjrjmHflBBpErYeRp1 y1BoXM16Prn5/mv9VQeF12Vx6NFjRWmF+RG+EqsB5QEsFJzVyy9CbEmKaXrCXbSnwoHmcPnjgVzFc 3IDHQraw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qQWg6-00GrFl-1u; Mon, 31 Jul 2023 17:27:30 +0000 Date: Mon, 31 Jul 2023 10:27:30 -0700 From: Luis Chamberlain To: Mirsad Todorovac Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Russ Weight , Takashi Iwai , Tianfei Zhang , Shuah Khan , Colin Ian King , Randy Dunlap , linux-kselftest@vger.kernel.org, stable@vger.kernel.org, Dan Carpenter Subject: Re: [PATCH v1 1/1] test_firmware: prevent race conditions by a correct implementation of locking Message-ID: References: <20230731165018.8233-1-mirsad.todorovac@alu.unizg.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230731165018.8233-1-mirsad.todorovac@alu.unizg.hr> Sender: Luis Chamberlain X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 31, 2023 at 06:50:19PM +0200, Mirsad Todorovac wrote: > NOTE: This patch is tested against 5.4 stable > > NOTE: This is a patch for the 5.4 stable branch, not for the torvalds tree. > > The torvalds tree, and stable tree 5.10, 5.15, 6.1 and 6.4 branches > were fixed in the separate > commit ID 4acfe3dfde68 ("test_firmware: prevent race conditions by a correct implementation of locking") > which was incompatible with 5.4 > The above part is not part of the original commit, you also forgot to mention the upstream commit: [ Upstream commit 4acfe3dfde685a5a9eaec5555351918e2d7266a1 ] > Fixes: c92316bf8e948 ("test_firmware: add batched firmware tests") > Cc: Luis R. Rodriguez > Cc: Greg Kroah-Hartman > Cc: Russ Weight > Cc: Takashi Iwai > Cc: Tianfei Zhang > Cc: Shuah Khan > Cc: Colin Ian King > Cc: Randy Dunlap > Cc: linux-kselftest@vger.kernel.org > Cc: stable@vger.kernel.org # v5.4 > Suggested-by: Dan Carpenter Here you can add the above note in brackets: [ explain your changes here from the original commit ] Then, I see two commits upstream on Linus tree which are also fixes but not merged on v5.4, did you want those applied too? Luis