Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3566690rwb; Tue, 20 Sep 2022 01:17:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5l7pl5WX+B3+qc4Z1oRvZIszKkIo4inNXu48T61YZDegTvNQJM/mrIegkazVRZjR7HMNYC X-Received: by 2002:a17:90b:19ce:b0:203:182d:2c77 with SMTP id nm14-20020a17090b19ce00b00203182d2c77mr2643499pjb.45.1663661860115; Tue, 20 Sep 2022 01:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663661860; cv=none; d=google.com; s=arc-20160816; b=df7KQHIAwEuewtKXaxFmC2CprgIDTiwfmSUqkugD0DLpss87slM3IHTotczLlTCtyd U5m8uBrwIoNgEc3LrowxVMLcjxjUcbOgOK26itaffVFG1J+E0YZKeEMq/rZOAbDabEw6 9lFuZ6SvMNZip6myFdf0DzDNq5Q0r5nGqaRiT122WvW/e7WcsTsGrhe3n/8xdQbyTK8a JvVfypjKlR9ll0rDli0vxRNlVXaEDKgQRYOYjx8TpRrG5WeXp05MW7iDQgMMlRB8kA8v cZ8tj29ZLJKoKtkC0r8zxbZpePtkVkKEf7Wde5lvy8GuXzoGTtOr/6BsQ2PyTvwYXOT0 RdDg== 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=f5qD6zAA466UgjuEnk9mGMzuomEV4pr6kH+NFdqWMZA=; b=EK9TRBf2EaZVWZHMO56eBAm7DNpS7ZUfoL8iZSXomtwrKDVEmc2t/tOHuWPKxFL5pE WGFvhHQ0Hyc6TyRHLBlZcJD8qPZhgb0uBSkiJy3+6BQfm3kN7INLSbdVzpBWbMURIdj4 CxeNCyo/d5b3ZSoy/wTiHub9dORIzXY8/Tx96qRNDd1DQZYquFY3O5t7y/XC8xPpZ0Gy tFHa02TcrUQENLIFrzPGKgAiBb7PSJH1dtuCEDsSa6RMse2eN5uWhFVGnlGHDIMIKzLs of/C34F3BL6WR/9w/HpViI10bT0CMetOTh+jMDpJyUfV1ANqMwa3UrrkWExOpmhHYdAH uptQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Rk9GSBxs; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg14-20020a17090b1e0e00b0020243dc975bsi18105167pjb.116.2022.09.20.01.17.28; Tue, 20 Sep 2022 01:17:40 -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=@bootlin.com header.s=gm1 header.b=Rk9GSBxs; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230378AbiITINR (ORCPT + 99 others); Tue, 20 Sep 2022 04:13:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiITIMv (ORCPT ); Tue, 20 Sep 2022 04:12:51 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B5A61D6C; Tue, 20 Sep 2022 01:10:58 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 518D34000A; Tue, 20 Sep 2022 08:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1663661456; 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=f5qD6zAA466UgjuEnk9mGMzuomEV4pr6kH+NFdqWMZA=; b=Rk9GSBxs4RNRvtWALvLdb+rRqzYClM8TfhIuBnVxxeoxW8f1EpYVSeNP6sOhpTIzze4O1t hvOvNSJp8BmFUIpAwgjNOxXbKqfrKWeAmU46oXNP1Dbc2dN0P8gziskCHQXrN07JZXmVun 4r3foNSpGPhFvJgODD7wcF7YkxHq5JDZ9YsNizuw84bZ/4QluLfUZjy9yc4DQkpUuwm3a1 3GVS/2bCWKCR3fhDo2dDvUBlhCbO7zwDyuCTilattLeHKBX6JSJj0bWkHWtTLxa/jV6+rv 3DzaZUC9miz+bKAjM4qn9FdMQ0Xf+NpIJ0a9Fe4YTiAJ4QqJjaYu6oqcchYCRw== From: Miquel Raynal To: Tudor Ambarus , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, peda@axentia.se Cc: nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, bbrezillon@kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] mtd: rawnand: atmel: Unmap streaming DMA mappings Date: Tue, 20 Sep 2022 10:10:53 +0200 Message-Id: <20220920081053.597303-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220728074014.145406-1-tudor.ambarus@microchip.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'52d0997b6bb062fed06d12d31c2c2851ffde8d45' Content-Transfer-Encoding: 8bit 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_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 Thu, 2022-07-28 at 07:40:14 UTC, Tudor Ambarus wrote: > Every dma_map_single() call should have its dma_unmap_single() counterpart, > because the DMA address space is a shared resource and one could render the > machine unusable by consuming all DMA addresses. > > Cc: stable@vger.kernel.org > Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") > Signed-off-by: Tudor Ambarus > Acked-by: Alexander Dahl > Reported-by: Peter Rosin > Tested-by: Alexander Dahl > Reviewed-by: Boris Brezillon > Tested-by: Peter Rosin Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel