Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1060624rwi; Wed, 19 Oct 2022 06:20:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM64+6PNEAHUvjQx2Kl9aApLkkb/k2yqFWJ+YiAS7UrAK54t5CwkbUTBFKHwM8lpyfy19Yrk X-Received: by 2002:a17:90b:350d:b0:20d:5438:f594 with SMTP id ls13-20020a17090b350d00b0020d5438f594mr46283052pjb.216.1666185600400; Wed, 19 Oct 2022 06:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666185600; cv=none; d=google.com; s=arc-20160816; b=U21Fh+vxcIpjUqXiT267/09xs8p1jYGb7o6Nu+YGOfpFjpSoIjj6wG2I1iKZ8jmm6/ IhNxXVXoW5F+D1+72i6e2YBY0UDbMSp0N8ZcqF+P8U0Lk3djsq7pmeyMwrez55xmE8er Pr9NlOT8S2yEjgTcl3cwffLePq1uIVts6h2Htz/R6s+PPUtrn2/0hbqAulK4XvNcdeBW V2bAFdwXxPTDXj/7gPoApP3KVGffDEf/82zwsMk7mQA0u+XsTzOWSk/XsVz3yjpLFLfi ZSzuGcY9101Q5O9d3jLn4piP/MEznc8mdjmphXdAz5BMRVR9Js8rS+VynqUMeq+MZ1Lo sjYQ== 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=5SejIepUzxjS/wpajaNfAPs01eecnRFc2LIKMh38ESo=; b=crX9L+ryNEZCSaIGBVlXqvAppxCsQ2rcdlbsXkMCDKQtnOeZPVcygbvnutzTR0I02j xb9wRfvl5pL37TS/CNYnmcpyZtbsYC79q05WNhy2t6Nul4IGF27JThb1jRPM9ToG9MFD wWXD3ByD/J7ba4jvvCvtPi0/S1274vo2P1YGI/t2oB1JIKKVLWIVDwFfUSMMiS3E0s9s 9oxh2yeWfXLpmazVOmsFOyJChio5Py4dJvByJy4q3qhezvLhzF8s7V8XuYXxqbOJzFOi Q4sBi0xaWoQJjvxUsQpFouO1Rsl4xmjb5oV82whDupXeX3qcktAlY2Tq2gQMNx0kLq0r xTnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uzbNN4+e; 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 l19-20020a17090b079300b0020d67aeb299si22701440pjz.53.2022.10.19.06.19.47; Wed, 19 Oct 2022 06:20:00 -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=@kernel.org header.s=k20201202 header.b=uzbNN4+e; 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 S229610AbiJSMW4 (ORCPT + 99 others); Wed, 19 Oct 2022 08:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbiJSMWm (ORCPT ); Wed, 19 Oct 2022 08:22:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7E891C5A68; Wed, 19 Oct 2022 04:57:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 44BA5B823AE; Wed, 19 Oct 2022 09:19:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F05A9C433C1; Wed, 19 Oct 2022 09:19:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666171172; bh=vWXcM3OIICH25cHPoU2uv46Vrp8M01gJ70s0hn1R9+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uzbNN4+erPsU4dHda7XmpSyeltkYFA4ZahpNFpfiDK5jgxLySjvg+2SIhLjWhtoh9 pCsAHnsSBQ/8oRrBrbhHr3yw9FJyC7qbWYQovPUlNbp1WPfN6ku9rAOX4Ase4Dfh5+ 3UWyIr4yrJqpQgOJNcnG/EnSfoiVyaNoV1Kz2NcGyoBB4F4x/r3nDI/CMU9GdigOnS lf7dHWoofjzLy8P7LX78wVBdZweX6sjYsT41PiHUTQgcwc23sPahlmH1B8bnw65F/x rmRutB7z5A15n3dHr/T7EhH/zsJajZxzWWcJe5avU05RHe2Hv9bmuGO4DxStN1rNLk BiECoiocZztJA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ol5EO-000596-AX; Wed, 19 Oct 2022 11:19:20 +0200 Date: Wed, 19 Oct 2022 11:19:20 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Johan Hovold , Vinod Koul , Sasha Levin Subject: Re: [PATCH 6.0 528/862] phy: qcom-qmp-usb: fix memleak on probe deferral Message-ID: References: <20221019083249.951566199@linuxfoundation.org> <20221019083313.304749902@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221019083313.304749902@linuxfoundation.org> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Wed, Oct 19, 2022 at 10:30:15AM +0200, Greg Kroah-Hartman wrote: > From: Johan Hovold > > [ Upstream commit a5d6b1ac56cbd6b5850a3a54e35f1cb71e8e8cdd ] > > Switch to using the device-managed of_iomap helper to avoid leaking > memory on probe deferral and driver unbind. > > Note that this helper checks for already reserved regions and may fail > if there are multiple devices claiming the same memory. Again, because of the above, this should not be backported. Please drop. > Two bindings currently rely on overlapping mappings for the PCS region > so fallback to non-exclusive mappings for those for now. > > Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets") > Signed-off-by: Johan Hovold > Link: https://lore.kernel.org/r/20220916102340.11520-7-johan+linaro@kernel.org > Signed-off-by: Vinod Koul > Signed-off-by: Sasha Levin Johan