Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp3040684rdb; Fri, 22 Sep 2023 16:43:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQSBubfefw06Hpx2hPp+1anaILc9Y7E1mH+EOQIektlGODf5OAJUXopw1Uw9lMj/o6JQM0 X-Received: by 2002:a05:6870:3126:b0:1d5:bda7:132d with SMTP id v38-20020a056870312600b001d5bda7132dmr907625oaa.4.1695426218960; Fri, 22 Sep 2023 16:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695426218; cv=none; d=google.com; s=arc-20160816; b=k7BRX5LfVHwB4sSTZwjPercgEQtcrSn94TfEbAXsoVEFKuI/PiCUFDkHmJ6+FwtxFR dRpsR7N6pogSsi/a1wYGLQBtX/dajQwCynJMrndmaZgaIBVWT9DopshWx+etoq8fOKbv Flv3KTD7Yn1tpIv68kzsVQDlqT742Nbpwk0/33cl905rJ0AK+8jRB7xZTdXiUeCAN9fc ATl1w8dMcXA28LACMqj8x8bWx/bmHbB0hEjHi0t5aZFFoWg4LErKKwdwmxMeMYlSrsyc AgQyRznADe15TxqfejN2AFXiKLSEGROAcUT5Z1pco49vunwe17ovWssEUDrmuGxbZUbW hqtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=u4bMcSqfVOcLKjBh3MpHcTy2ewquY/v0eZ6t5YcYSsU=; fh=m0/euJ/YloekyDYwZiu9Oz2hQ4WDNMuWC3tukgDy6aI=; b=me4iU88aqeDLnisDzWTNptoLfI+T8r2V8ov7y3BkWzelxs9S4Q4DdpbZCmMQkL3+xx fcCpejnUsyLPQK0rf3VXYOBx7qzH2LSY7/D/F7VxUssM8a+iXyaSzWQMq2fcgt3wMc6O SLs0nY7oYCXVv+zxqLc3hzNWaKJ+fADmT8eyQDXMPtFlOeBoocR+hSrhPPWlA4zbmv77 Ma6JuMeAjG7AvIUyuHGxnratrOhAm2APsTex5DUCPVJsltdnOY28lwh+ut8aLi/pxYsC igWg9hDbrEF0q+hoyFsBiC7JOUGrnNlA15SdzFdrmGznKvXNkBbPLo3OLLafxLJF37qj kXUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="aeUW8/R7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id r14-20020a63440e000000b0056fbf85c743si4664080pga.790.2023.09.22.16.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 16:43:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="aeUW8/R7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1C75582A8556; Fri, 22 Sep 2023 07:51:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231687AbjIVOvU (ORCPT + 99 others); Fri, 22 Sep 2023 10:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231157AbjIVOvT (ORCPT ); Fri, 22 Sep 2023 10:51:19 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1487C6; Fri, 22 Sep 2023 07:51:12 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id B3957E0003; Fri, 22 Sep 2023 14:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1695394271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=u4bMcSqfVOcLKjBh3MpHcTy2ewquY/v0eZ6t5YcYSsU=; b=aeUW8/R7sdrtUu5bKQ8tM0mSms8cN/RJt/US1tLdgOeJ8VqkZmv1ABIrObo1nhXqnyb8w2 luF8XvJcx8yhvaZl6pJv4GqW1WA/B+R49WG4e1g7djUry4lVoAyqICvIiiWZ3hfjB91HZp i8gTSsFL0QECUrxUORXzVtr+tcQGjSgiCcLwXn7xfisfOFsqB0UbuN344Fa8E7KnX8HeXo aHQ/x9DcLz1Wwpp8GcKK+9u7kvnMVkKaKTdtYvt+Tn/ug500Bfuzo1QH1eFP8zVkT6Bzdo zpImVtFxJquP2fTyN8z7VSiZf8i0b/QuWGMENXdFIFcQ8WwhB8oQ8cXXxYDTzw== From: Miquel Raynal To: Bibek Kumar Patro , mani@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, quic_charante@quicinc.com, quic_kaushalk@quicinc.com, quic_pkondeti@quicinc.com, stable@vger.kernel.org Subject: Re: [PATCH v5] mtd: rawnand: qcom: Unmap the right resource upon probe failure Date: Fri, 22 Sep 2023 16:51:09 +0200 Message-Id: <20230922145109.578247-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230913070702.12707-1-quic_bibekkum@quicinc.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'5279f4a9eed3ee7d222b76511ea7a22c89e7eefd' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 07:51:19 -0700 (PDT) On Wed, 2023-09-13 at 07:07:02 UTC, Bibek Kumar Patro wrote: > We currently provide the physical address of the DMA region > rather than the output of dma_map_resource() which is obviously wrong. > > Fixes: 7330fc505af4 ("mtd: rawnand: qcom: stop using phys_to_dma()") > Cc: stable@vger.kernel.org > Reviewed-by: Manivannan Sadhasivam > Signed-off-by: Bibek Kumar Patro Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks. Miquel