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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C5ACC6FA82 for ; Tue, 20 Sep 2022 08:13:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbiITINP (ORCPT ); Tue, 20 Sep 2022 04:13:15 -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 Precedence: bulk List-ID: X-Mailing-List: stable@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