From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF618C433ED for ; Fri, 7 May 2021 11:22:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8982A61458 for ; Fri, 7 May 2021 11:22:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235498AbhEGLXp (ORCPT ); Fri, 7 May 2021 07:23:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:36880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231932AbhEGLXp (ORCPT ); Fri, 7 May 2021 07:23:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8822661458; Fri, 7 May 2021 11:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620386565; bh=jX05VFyu9lXy9oROC2Ilaza5BK5GLwQ6AxUCb33C8HM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Op3rDHjqCbuF1EP8Nl0Mzoow5iKlgHHdnVpqw0pe6ofF6Q8batSjtVEBvPkyfDv8d /PNJkwjXMWzq4otsKY2swCevrrraEpO6z+du0Cph+O0H43Il7OBGgVONH4SHrGgnMW jVlKZRYFziK8Bvqm4ee9e1BSaRq14m5Uw+uzP7dY= Date: Fri, 7 May 2021 13:22:42 +0200 From: Greg KH To: Manivannan Sadhasivam Cc: stable@vger.kernel.org Subject: Re: MHI v5.13 commits for stable backporting Message-ID: References: <20210507080736.GA5646@work> <20210507101508.GB5646@work> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210507101508.GB5646@work> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, May 07, 2021 at 03:45:08PM +0530, Manivannan Sadhasivam wrote: > On Fri, May 07, 2021 at 10:17:48AM +0200, Greg KH wrote: > > On Fri, May 07, 2021 at 01:37:36PM +0530, Manivannan Sadhasivam wrote: > > > Hi Greg, > > > > > > As suggested by you in MHI v5.13 PR [1], please find the below commits that > > > got merged for v5.13 and should be backported to stable kernels: > > > > > > 683e77cadc83 ("bus: mhi: core: Fix shadow declarations") > > > 5630c1009bd9 ("bus: mhi: pci_generic: Constify mhi_controller_config struct definitions") > > > ec32332df764 ("bus: mhi: core: Sanity check values from remote device before use") > > > 47705c084659 ("bus: mhi: core: Clear configuration from channel context during reset") > > > 70f7025c854c ("bus: mhi: core: remove redundant initialization of variables state and ee") > > > 68731852f6e5 ("bus: mhi: core: Return EAGAIN if MHI ring is full") > > > 4547a749be99 ("bus: mhi: core: Fix MHI runtime_pm behavior") > > > 6403298c58d4 ("bus: mhi: core: Fix check for syserr at power_up") > > > 8de5ad994143 ("bus: mhi: core: Add missing checks for MMIO register entries") > > > 0ecc1c70dcd3 ("bus: mhi: core: Fix invalid error returning in mhi_queue") > > > 0fccbf0a3b69 ("bus: mhi: pci_generic: Remove WQ_MEM_RECLAIM flag from state workqueue") > > > > > > I'll make sure to tag stable list for future potential patches. > > > > That's a lot, are you sure they are all needed? Constify? > > > > Filtered the patches now... > > > What order should these be applied in and how far back should the > > patches be backported? > > > > Below is the order and stable kernel revisions: > > 6403298c58d4 ("bus: mhi: core: Fix check for syserr at power_up") #5.10 > 47705c084659 ("bus: mhi: core: Clear configuration from channel context during reset") #5.10 > ec32332df764 ("bus: mhi: core: Sanity check values from remote device before use") #5.10 > 8de5ad994143 ("bus: mhi: core: Add missing checks for MMIO register entries") #5.11 > 0fccbf0a3b69 ("bus: mhi: pci_generic: Remove WQ_MEM_RECLAIM flag from state workqueue") #5.11 > 4547a749be99 ("bus: mhi: core: Fix MHI runtime_pm behavior") #5.12 > 0ecc1c70dcd3 ("bus: mhi: core: Fix invalid error returning in mhi_queue") #5.12 > > TBH I misunderstood that Sasha's bot will pick the patches based on Fixes tag > and the commit message, etc... and will apply them to respective stable kernels > based on trial and error. Probably I expected too much or I'm lazy :) Please read https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. Yes, we have scripts for lazy maintainers/developers to pick up things that they forget to tag properly, but please, if at all possible, do it correctly to ensure that the commits you know you want backported, are properly backported and if not, you will be notified. thanks, greg k-h