Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1998528ybb; Sat, 4 Apr 2020 18:46:23 -0700 (PDT) X-Google-Smtp-Source: APiQypIPXRZfClJLDnePQ97tkq+i72xDpkOzHJTiKh+W8CYEultI1EGSOu7mVL08f/KQGUBdFvof X-Received: by 2002:aca:fc88:: with SMTP id a130mr7854927oii.89.1586051182994; Sat, 04 Apr 2020 18:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586051182; cv=none; d=google.com; s=arc-20160816; b=i8Y/0XIK5CoCiKO3tMfb3M+lNXBa2sjmNzQy37vHQyhXX7gMkLudT1oLcaa/1Qm2uW iWkRC0GOIoR3N1VVZfokNsI0fv1/4niBdjPI2s/8WjLvKVzj6V59CrUpXv2sdaWbIb4K Y2K5oYvRotIMrWwVvjWpjEzHzBrYim3qh8z4ZVcVSCcRVXT4LVigOvxB69Rvxh/Vu/9X pOpwZGzjYWsX785nbQOWU0UiUPdFwPcqsJZ2C7UnLsh9G9hAgnxUraNv2Auy+z/TtMQ5 8qyKeivfc1AjjFcI6OUPmmeJ1zkVlPwbAk1OIrSpsf3uacS1HBtkxbl7ak4ENhglvHMS ZquQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JeC65YQxlFbywStaQPwOL1IiITFIehucwUMPinuGVYU=; b=xACYuW6GlrFFMnpa1zyzq2UppRHy3SQdL2VjwPk534o3sWx/sCypndNs+11cUruyad k+FA+ta9SQfVRj2gLUUawHg69+d0hrXCKTQnI+OUQBEPEZFQmQ7lChdSwhb264QIbxtR Ff2Z9SZ0MLdNgygGWZ5c2ry2EFccQ81mUhtIGcHMdBBhY/5U+NlD7hSkm6DWo9rcxbUT OHoelgphqTMhls7cU435r2sta4t0MGWdHhCxjYynwPOZTxyP6iae4EgYY5UYl+bIuwGv 1ZsuHgg4S8ee9cikoGJbOaCRXESNfGMFPT1xH8HI63dtHKY8QeRpCfIwpMEq8yn8yRz0 vFAQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w65si5688267oif.134.2020.04.04.18.46.08; Sat, 04 Apr 2020 18:46:22 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726399AbgDEBpv (ORCPT + 99 others); Sat, 4 Apr 2020 21:45:51 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:41545 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgDEBpv (ORCPT ); Sat, 4 Apr 2020 21:45:51 -0400 Received: by mail-il1-f195.google.com with SMTP id t6so11303095ilj.8; Sat, 04 Apr 2020 18:45:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JeC65YQxlFbywStaQPwOL1IiITFIehucwUMPinuGVYU=; b=VuVkZHP3eX0SLkq7+kDGBmA/meXZrGR+dP7RGlNYkzUbmVCuRrRtFHdCemHi5N2ABd CNFULsVTK937KDLWdiwerFqTqoj1B3ZiP02TQrvKOd0V1LaY0bzruy2WP/yX4GqRJIaQ piukEvIgDjtj3kuGBudeXVTZZtoIbLr/hT+27noGgpln1Y7oNWT0I/lvqFvxeHoloNCM FRiVeqO3PHdVTzFDc88364JUZyNq8ZuzM550etqaa1qZGLIZcIOKo7ljfDGo20JenuCR V13GHQURfrx2VAB1LJu2ZPs9ZKFb7IGnuSQLL0y0Kz6Q5Q9d01EXBjgGcirdGT438vMK Fgcw== X-Gm-Message-State: AGi0PuY46iSypdbmrPs9XwOGF/HjYtk7fFDCS95hXbctKWl5X4y+2tAx rWLJcH3HYMFAYThQvG3Gyu6AdNY= X-Received: by 2002:a92:912:: with SMTP id y18mr15759344ilg.299.1586051150651; Sat, 04 Apr 2020 18:45:50 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id h12sm4476080ilq.66.2020.04.04.18.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Apr 2020 18:45:49 -0700 (PDT) Received: (nullmailer pid 10043 invoked by uid 1000); Sun, 05 Apr 2020 01:45:48 -0000 Date: Sat, 4 Apr 2020 19:45:48 -0600 From: Rob Herring To: Tejas Joglekar Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , John Youn Subject: Re: [RESENDING RFC PATCH 1/4] dt-bindings: usb: Add snps,consolidate-sgl & consolidate-sgl Message-ID: <20200405014548.GA25539@bogus> References: <8a9ca8e08d7c4957789a209c77589f1aa4bd2f06.1585297723.git.joglekar@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8a9ca8e08d7c4957789a209c77589f1aa4bd2f06.1585297723.git.joglekar@synopsys.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 27, 2020 at 03:11:56PM +0530, Tejas Joglekar wrote: > This commit adds the documentation for consolidate-sgl, and > snps,consolidate-sgl property. These when set enables the quirk for > XHCI driver for consolidation of sg list into a temporary buffer when small > buffer sizes are scattered over the sg list not making up to MPS or total > transfer size within TRB cache size with Synopsys xHC. > > Signed-off-by: Tejas Joglekar > --- > Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt > index 9946ff9ba735..292d1f7969e4 100644 > --- a/Documentation/devicetree/bindings/usb/dwc3.txt > +++ b/Documentation/devicetree/bindings/usb/dwc3.txt > @@ -104,6 +104,9 @@ Optional properties: > this and tx-thr-num-pkt-prd to a valid, non-zero value > 1-16 (DWC_usb31 programming guide section 1.2.3) to > enable periodic ESS TX threshold. > + - snps,consolidate-sgl: enable sg list consolidation - host mode only. Set to use > + SG buffers of at least MPS size by consolidating smaller SG > + buffers list into a single buffer. The preference is not to keep adding properties for every single quirk or feature. These should be implied by specific compatibles. As Synopsys knows what quirks/errata/features are in each version of IP, the compatible strings should reflect those versions. (And yes, I'm sure there's customer ECO fixes that aren't reflected in the version, but that's why we have SoC specific compatibles too.) This is the only way we can fix quirks in the OS without doing DT updates. For comparison, do you want to have to update your PC BIOS so an OS can work-around issues? Rob