Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20344884rwd; Thu, 29 Jun 2023 00:39:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YPUh4Sb2fFdAJzvseyBpUIDr2zcmN7ljJgCFY+D8KnmgUEQ2AgM3+3gG1GIRRHt0RNTNj X-Received: by 2002:a05:6808:69a:b0:398:f740:631e with SMTP id k26-20020a056808069a00b00398f740631emr40459218oig.16.1688024373603; Thu, 29 Jun 2023 00:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688024373; cv=none; d=google.com; s=arc-20160816; b=KmYOQtQdCEBrEx+16kzWtqEfNozxgsy3L/DSo8VusIkqHF2p4AC3C/69sZr+R9KOmK hVZjK13SkGGnOIaL7d9DDJr4AubbxKxSrFKiKfdjEIsY26azGy919q2rIjVyMBklUJ6R Cp9d5b8ZDdPfS5534pwk00KgZNofb7ndqscafgDFq/QJawIdX4JAD1VhdEK+aeD/be3H LF8sQuVo/vCBy8EoNyDYmW8rpl/X6/8kddHofbhFi7mTZivZ9MULo2YCVCSDXCQa7fcC 19Q8ki/3zHKNRMt+F/13lIHYPp9mvu/20iAv4FxCkS3XTDG3MNPatA+RJhLhP4z8kn2x efIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=l5XW0exCS9z+Hy0fRQZ5/K6ds6wj/L09NJ5d7OC64KA=; fh=2ANRJL4H79U+qdKbulSgM8aeife/hFb9ed7LAp7+Rgk=; b=bRL6DuZGdjcOW7INNX9XnZJMS89NA8DlhI3T0JWfhd7sUd1xcvNjX9ijyVJvjqP11D jBdZzAfzdJt8YwZMVBOrz75p+ZBSytesHeJcLuqawnrHew+felWwoDmvpc3S3I/U5N30 TREn1CqaNOagXidZXO7VOOo+GBlZZJYhP0QGlK7IPksrcTJiRz5I2vypsyGLs3WhOecJ EPWxOqUjTKIYw+hNqdrelmhBW2Bu6UeaCsj5JyHFuA73dpZvkjcP2RwcFIu8tsAPEqlX cslZ9lMM3aRv0X3XW6pwaQWKc3mFQpiMaZntffbvbZMsepP3fPgvaF3s0hUL/9eAk0Kl hI7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OzMuROfJ; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf4-20020a17090b1d8400b0024dfb95d54csi11252603pjb.177.2023.06.29.00.39.21; Thu, 29 Jun 2023 00:39:33 -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=@chromium.org header.s=google header.b=OzMuROfJ; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232091AbjF2HOL (ORCPT + 99 others); Thu, 29 Jun 2023 03:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232077AbjF2HNl (ORCPT ); Thu, 29 Jun 2023 03:13:41 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD57B2D62 for ; Thu, 29 Jun 2023 00:13:36 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-634f59e7d47so3372746d6.2 for ; Thu, 29 Jun 2023 00:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688022815; x=1690614815; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=l5XW0exCS9z+Hy0fRQZ5/K6ds6wj/L09NJ5d7OC64KA=; b=OzMuROfJpoLGNgS+ZAcrHuueIY2DERxoPUf07SCErpmh3Jfp6xvCgHF3rgg2y1tYsV xM02nfa5f40WRqgKfNt4m7bDjumsiP7WhNIj4D8Cgnlc3qZckwnVuMtXCkbWL8alZVmM Lp63h5gsfVjxE1u7AdsceE+Kp/A/PQS162mR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688022815; x=1690614815; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l5XW0exCS9z+Hy0fRQZ5/K6ds6wj/L09NJ5d7OC64KA=; b=Lx9J+tJVuCy7+JSHZ/XqjiPoWV8TLupc2ZlQxwjFY9hZGREMwAnAz7gB28THIETPXu JrwOdHQOgeKCU22BnJAbXJ+1nFO8FkfjWc4RQDnkHhn1+3A2sQs2r+X0s9szeLWSVW7w WzaCv8nxygDSwIWxyqubOsC5O1P+786K073bRHhAX5cj9v5G8jSm7/V23jPbcbPr7fTI 4+kUGZLYMqwlssR9V8RMAKNH6aJv4YEwn2waQz84jdmxJL+ek8pnjOMRg6/n8+fuE+Ba dWfBRD526nU6hz3hAHn0HvBJgZfL9AHYFUgiYyabp4w2UNzfaZY/g8iRyC3MlIKQMlMH A1RQ== X-Gm-Message-State: AC+VfDzdC4qN1PneeRENWdt5i+G+Uo/Kr/R8P2H9AbJ+XPp2uqTOPPyk qI7qDH6Ji9E3Id37EwmKbECAXzohOoMlUMtyeYXGpQ== X-Received: by 2002:a05:6214:d0b:b0:62d:e1ab:a43 with SMTP id 11-20020a0562140d0b00b0062de1ab0a43mr39455561qvh.42.1688022815625; Thu, 29 Jun 2023 00:13:35 -0700 (PDT) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com. [209.85.219.50]) by smtp.gmail.com with ESMTPSA id h20-20020a0cedb4000000b00630217f0181sm6741238qvr.80.2023.06.29.00.13.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jun 2023 00:13:35 -0700 (PDT) Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-635e5b06aaeso3458406d6.0 for ; Thu, 29 Jun 2023 00:13:34 -0700 (PDT) X-Received: by 2002:ad4:5c47:0:b0:635:f546:83c4 with SMTP id a7-20020ad45c47000000b00635f54683c4mr8987873qva.54.1688022814565; Thu, 29 Jun 2023 00:13:34 -0700 (PDT) MIME-Version: 1.0 References: <20230628-mtk-usb-v1-1-3c5b2ea3d6b9@chromium.org> In-Reply-To: From: Ricardo Ribalda Date: Thu, 29 Jun 2023 09:13:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] usb: xhci-mtk: set the dma max_seg_size To: Zubin Mithra Cc: Chunfeng Yun , Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , AngeloGioacchino Del Regno , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Zubin On Wed, 28 Jun 2023 at 23:57, Zubin Mithra wrote: > > On Wed, Jun 28, 2023 at 11:04:20PM +0200, Ricardo Ribalda wrote: > > On Wed, 28 Jun 2023 at 23:00, Ricardo Ribalda wrote: > > > > > > Allow devices to have dma operations beyond 64K, and avoid warnings such > > > as: > > > > > > DMA-API: xhci-mtk 11200000.usb: mapping sg segment longer than device claims to support [len=98304] [max=65536] > > > > > > Signed-off-by: Ricardo Ribalda > > Reported-by: Zubin Mithra > > Should this be cc'd to stable@ as well? Not sure, in most of the cases this is "just" a warning fix. Let the maintainer decide: Fixes: 0cbd4b34cda9 ("xhci: mediatek: support MTK xHCI host controller") Cc: stable@vger.kernel.org