From patchwork Sat Sep 23 19:41:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 13396870 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8BA2CE7A89 for ; Sat, 23 Sep 2023 19:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:MIME-Version:Subject: Message-Id:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=AgSw7j0mF0eNSXHI2oSzGQYj04HWO5oYvuWCBwfL7R0=; b=jtK zX0LrbJV0W+7Qi913fKqpq860beQEasVsyl0zH3/zTtJEEgVgA/FaH4PLVl4Ojmul3tGFGpuMJ6IS aAAM0WJrGXBqrrujcWxjS/KNiPPI4hAe40BQdtsehUnZJfKI3El7F02/MQSU8EorZkOSd+D+pkQiL U41SM6+CvVV7j3LK9Gkc3JuMVla1VbQhDlOWd6oQOrgNr0V/FF8a9p+OwB4EP1XitDjYlbsxhemSp CmzKv3YWe7yQyAJ7tTnzeAy32g8qeWwBZ7k7ZD0Yt/YUamuMHsXmb6NBC3DK94aip0ixXbxm4jlAU 6hrQwVrMCJy9KbiBUAnml4VfiPyHIKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qk8W3-00BOJh-2S; Sat, 23 Sep 2023 19:42:11 +0000 Received: from rere.qmqm.pl ([91.227.64.183]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qk8W0-00BOHH-2L for linux-arm-kernel@lists.infradead.org; Sat, 23 Sep 2023 19:42:10 +0000 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4RtKJx541CzR; Sat, 23 Sep 2023 21:41:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1695498115; bh=wp7EybNqxZPuaJseGNWMLajq/4TvZRIK+t8tPGl8NZA=; h=Date:Subject:From:To:Cc:From; b=qHzeJWgh89lusdHb6R07h2qNXYUd9Iuyp66mt4Cj0StxChiPqC8Qy9fWpFV2F5Fgk G4GvlYrDbAaLyPq5J8gSVp/KybCxPRin8N49PROEFNY31RvN+H5MOMUXldP0bWx2vo Px04kK3LJgU9vRDbBA8u8lm5KfFGlhYnzaEYnaTNpOQnOSrKerwmucLLciqwDRttXy o7g4Fmnawa5/kRbCNb+3SIz0wZowYAkcF7Lq8YEPvUKXrA+94OCQ+RN5YPJJjHmQZ4 aW3SupWSgqL+8NB1YAEWpqpa5G3yS1PJDuPHaBN5nW+3w6tpK4ZWsjH2EWuSp2GCTl /o3aJ/KDB/bzA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at mail Date: Sat, 23 Sep 2023 21:41:52 +0200 Message-Id: Subject: [PATCH 0/3] usb: chipidea: Tegra USB DMA fix + cleanups MIME-Version: 1.0 From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= To: Dmitry Osipenko , Greg Kroah-Hartman , Jonathan Hunter , Peter Chen , Peter Geis , Thierry Reding Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230923_124208_933334_281C6178 X-CRM114-Status: UNSURE ( 7.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series contains a fix for a DMA buffer overflow in Tegra USB driver followed by a cleanup of the DMA bounce buffer code and another cleanup to make probe() consistently use dev_err_probe() for error printk()s. Michał Mirosław (3): usb: chipidea: Fix DMA overwrite for Tegra usb: chipidea: Simplify Tegra DMA alignment code usb: chipidea: tegra: Consistently use dev_err_probe() drivers/usb/chipidea/ci_hdrc_tegra.c | 16 ++++------ drivers/usb/chipidea/host.c | 48 ++++++++++++---------------- 2 files changed, 27 insertions(+), 37 deletions(-)