Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3619465rdh; Thu, 28 Sep 2023 18:30:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETxgCuAHW5ESRCdbe8yS9YexGRXehWjbTo7VQhlVay76TYgTioII0fTDqIbO9MEjYcepql X-Received: by 2002:a05:6a20:918d:b0:15d:d3b3:1843 with SMTP id v13-20020a056a20918d00b0015dd3b31843mr3348695pzd.3.1695951027692; Thu, 28 Sep 2023 18:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695951027; cv=none; d=google.com; s=arc-20160816; b=h4eKpcLQfMnRR1m+G6ozlSmFlZ3aIW2qDKTCfny6DxAoqwlFfN2nUpnsU1IHWtd3cs OXw6m8DKfNer+Bk46ECzfrC/LRk8gQDs1io/Rd0lBGhIurCdsi8kY6vvYXT6nISgbgsn IMJ6/WlwEfZ8Tyt/xE2RFa938DsEB5VYh5Zob9G7es9cKtnNy330fDY6qYu9w2gL08b5 o47b06sx6tcmsXk8e9Mp6e3DMKMFsoVGX/WZLcgR8Z84e0o2pjW/qd5t3rCIjcFaymHo 6UiP3vNAEQM2yFNIZe1J/Qjm5JjFKq4K+dFgwt1SetF+Y7YsonQWLZxsFPYEZ4dlwyUj 2IoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:content-transfer-encoding :mime-version:subject:message-id:date:dkim-signature; bh=46lt7DWY4T6CYgZ6I+7m3+5hHDC3DHoJ/m9KD3TqHqA=; fh=QSEm5SHtjVglsSHb5FFRiFi/Cze5NxxhvSlL17Q9lgo=; b=jWw8JQqTymuYyxnMIgJmK8xkvZyoQAC9Q0EBGSSzTH5U5ozfq0EhWykuzxw4JnYjNa UcOxwDK/eyNgYC/2O0vXThWUkuKfEkalUk0bEDhagbe65TQtnyzHbHvJs9ZVovvFc88y czs9RBuRy/ZU/AfACGwUsNySIsThcuMDsT0F3v+LysPUXon7kEBalyNDRtENjpo3qCFD jza9Ik0ENuAocxe1J1qNPtrYL0CFCpyZ0DkxfpmQGCZdfHvKubuC51MueBWNApFhglsv 0fM/tqaEUWzeONDtdFYu8ivwWEG6HmWL4chIcIjMifzRNwNvI0YsmW9o2TF3OPS+BpcY 7n1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=WA3voBpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f13-20020a170902ce8d00b001bdad5f0f0bsi20451321plg.543.2023.09.28.18.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 18:30:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=WA3voBpi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0B0CF82AB461; Thu, 28 Sep 2023 14:06:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232424AbjI1VGP (ORCPT + 99 others); Thu, 28 Sep 2023 17:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232215AbjI1VGN (ORCPT ); Thu, 28 Sep 2023 17:06:13 -0400 Received: from rere.qmqm.pl (rere.qmqm.pl [91.227.64.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09CB51B4; Thu, 28 Sep 2023 14:06:06 -0700 (PDT) Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4RxQxl0yqczBf; Thu, 28 Sep 2023 23:06:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1695935163; bh=55XpWhNKMX1xJec8+ShthJVwuaVBpCPUQ0HDAw6jCkg=; h=Date:Subject:From:To:Cc:From; b=WA3voBpiNjLNFqPEg2TF9J2XkWbjHG91hI2h8oawyNxRVzVQHuWCtnAh18TuDyso6 W0xy4zUUtbnGN+xUQG6ywnK1cewkRa7DcvWpGOLcXDLiGJ9L+pkAvyRK/xVduw/YiE oNqOMmXUAjg8LWAQFPVcxsXXpOg8NWTY2PD4PAUkajg/yk/EfHBne2vhZ4/0N/6Iql /8osQLy72ReWUk+rGMwD7ye/tjPkD8UvwTO5sX9XRgw1ZT3bf3rkB5OKhLsWZ2N/to m0BW11VrJd7GRkpGfAEdPnZKYkAj4w39kHZAvjL4Wpey6xbtDIkQ5qwuxz8Ei7S3JI Zv1wprVlqaNfA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at mail Date: Thu, 28 Sep 2023 23:06:02 +0200 Message-Id: Subject: [PATCH v2 0/3] usb: chipidea: An USB DMA fix + cleanups for Tegra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= To: Dmitry Osipenko , Greg Kroah-Hartman , Peter Chen , Peter Geis , Thierry Reding Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 14:06:25 -0700 (PDT) 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. v2: reworded the commit message in patch #1 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(-) -- 2.39.2