Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1592851ybf; Thu, 27 Feb 2020 14:08:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzJp1wyNrHDaOrD06w5BIchY3z+7Tcnnb3Jf/zFFeLd173g8/mkEfsnNTs/Y4nUjBmvFUuJ X-Received: by 2002:aca:d17:: with SMTP id 23mr887994oin.121.1582841294210; Thu, 27 Feb 2020 14:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582841294; cv=none; d=google.com; s=arc-20160816; b=RJCxzbOBTM023X+14WBgaEceovbLPZ+FjVSxfA9IlOBLF2/MPy0zxdV8H6TPZqi941 S4/evBw6KsIgW5Dl801L7SybE5QOp8hGgU1Va75NfvQIXGU0mjENh/AU4Ofk/N//TuEZ N1edP0jMd5mNVJ/z7L13gb6zzZTJcn5JHXbYcDScR1IOX9a1/sHHymKXMJlBPtKz6XPt ChI6k8Y6lZRVMYiKnaWe0oHKaczWeUaJTMgcDvq5GY4A4EZgdUQrnBHmKU5TyBt8o/1u cFquowpgguNzxJOH3I0Uu2Z4FyI77m1kvyxLF+hOd7q1msk30wAPAoWUO53oW87Odr/B uBzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b8QGsDauXMWl04pUSYOUK2oYeibV2ZardTahQjqaKFk=; b=JPWsxbLec+6EUXl7Nseua/yAWTpdwW4smDOC17pA+gWql4JmZXBOsVOKSfB627T1M6 K/FFpDMQzfTu3YVivy4VLIlDRp27GdbmATchr/Xbxc7vXxkNA0LoL5mYVP7dq+pv3Fq0 YSzDWp5JQymh7frDS+SBLjPQaaA+p/QS5A9D38x5S18TPQthbvF56AN6QqzYsFVq0aV4 PyS0MwdEZez2eYROA1+ndL3Hc1QsetEsVxjh+yT/SO3gRfw0HiMw2V+t3MWIPyid51Vk iwSfewF7+n7ESuiEIMRueZbyL7YhDS+JRPMfanVTBAc1w9l6VgK81XzFfI9Orfv35PTg Uo9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HggjBvjj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z199si597665oia.192.2020.02.27.14.08.01; Thu, 27 Feb 2020 14:08:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HggjBvjj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730258AbgB0WH2 (ORCPT + 99 others); Thu, 27 Feb 2020 17:07:28 -0500 Received: from mail-ua1-f66.google.com ([209.85.222.66]:41446 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730120AbgB0WH1 (ORCPT ); Thu, 27 Feb 2020 17:07:27 -0500 Received: by mail-ua1-f66.google.com with SMTP id f7so249785uaa.8 for ; Thu, 27 Feb 2020 14:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b8QGsDauXMWl04pUSYOUK2oYeibV2ZardTahQjqaKFk=; b=HggjBvjjWDPJZSURFuVLSTpxwz1KWndp/rAWYhrL+pln1rYsnyCMEyQ3snRtzaNEHg n9IRY4ZR5Wo1EHVL64wxWm9xoF5McMgaU5AOtlrZ+WFnqVK2tbpUk0G/Ph785hgt6It4 oS3tzrIWm2mJXWPO4lcujLYuwTH+J1DQiTTc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b8QGsDauXMWl04pUSYOUK2oYeibV2ZardTahQjqaKFk=; b=HlG4lNSfiNgsjjXLb0yeRrqKQoe5e5bRpyHRcyNRuxRV57fiwT3vxwl01DlczicYWv GPxCwZvfR2HVgOqdIaCsV8ygZoAtVcvBprRZOEyvLHw5h2KgX3rqzNDKGy15iU9Ajx7C 7Vt/Z488f9yaAlld4vWZtIOsfOWPrjinuwrAz7/HGf0ohC9MHAtDUR4QkZ8sq3lMbL6U JfL3r6l7SlIry7EEFS6kmoOGGPoAvsdlq8rRiU9L0JdY8Cin2TjiQ/QBPUn4lBVoNljA WtUa7rVwNBJ9kLFgrO1Z1siiqTmSgAdmOwiqOlptcXZzOswze2GsBIvYIlNZ0jIOgnGV xb7A== X-Gm-Message-State: ANhLgQ3RG9VrukqsE3lpjBh9SGBDXY9+Wx40lqIxU/1JFTfNzkiKVMOd vDkTo60nNtyceF4XM3/RaPnDh+A5mM4= X-Received: by 2002:ab0:3496:: with SMTP id c22mr537511uar.134.1582841246696; Thu, 27 Feb 2020 14:07:26 -0800 (PST) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com. [209.85.222.42]) by smtp.gmail.com with ESMTPSA id c21sm1807389uaq.12.2020.02.27.14.07.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Feb 2020 14:07:26 -0800 (PST) Received: by mail-ua1-f42.google.com with SMTP id o42so246748uad.10 for ; Thu, 27 Feb 2020 14:07:25 -0800 (PST) X-Received: by 2002:ab0:6605:: with SMTP id r5mr531711uam.0.1582841245045; Thu, 27 Feb 2020 14:07:25 -0800 (PST) MIME-Version: 1.0 References: <20200226210414.28133-1-linux@roeck-us.net> <20200226210414.28133-5-linux@roeck-us.net> In-Reply-To: <20200226210414.28133-5-linux@roeck-us.net> From: Doug Anderson Date: Thu, 27 Feb 2020 14:07:14 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFT PATCH 4/4] usb: dwc2: Make "trimming xfer length" a debug message To: Guenter Roeck Cc: Minas Harutyunyan , Greg Kroah-Hartman , =?UTF-8?B?QW50dGkgU2VwcMOkbMOk?= , Boris ARZUR , linux-usb@vger.kernel.org, LKML , Felipe Balbi , Stefan Wahren , Martin Schiller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Feb 26, 2020 at 1:04 PM Guenter Roeck wrote: > > With some USB network adapters, such as DM96xx, the following message > is seen for each maximum size receive packet. > > dwc2 ff540000.usb: dwc2_update_urb_state(): trimming xfer length > > This happens because the packet size requested by the driver is 1522 > bytes, wMaxPacketSize is 64, the dwc2 driver configures the chip to > receive 24*64 = 1536 bytes, and the chip does indeed send more than > 1522 bytes of data. Since the event does not indicate an error condition, > the message is just noise. Demote it to debug level. > > Signed-off-by: Guenter Roeck > --- > drivers/usb/dwc2/hcd_intr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Suggest a "Fixes" or "Cc: stable" tag. This one isn't as important as the others, but presumably you'll start hitting it a lot more now (whereas previously we'd just crash). Reviewed-by: Douglas Anderson