From owner-freebsd-arm@freebsd.org Tue Oct 27 11:32:03 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DFAF7448BBF for ; Tue, 27 Oct 2020 11:32:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-54.consmr.mail.gq1.yahoo.com (sonic307-54.consmr.mail.gq1.yahoo.com [98.137.64.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CL8gQ5szcz4gd1 for ; Tue, 27 Oct 2020 11:32:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1603798320; bh=CRvdNtsqHsfqGpc/K4hT2ZkX7BYeVi7XkvfL8CMf0GH=; h=Subject:From:Date:To; b=a4VZG5E2InqdSXjw+gJ+i5OoOi1PNPn/PQPJGT/w5x6MaUIYGoISILiuw1EGsUjat3RcKLprbw//NqE+/kZMuuIs1pERKrCYtl/XkH7kUIistooQasHi4zCZqjxPqZae6GKNQRZHCW4CkKlw5oeTjJcjPHcgw6O2yP8HBRu8DihGhq3/EVDxmMGpM1No8xrZcAKYJ+J1WWQWMTwk9XCsHcDqUpdgS5E+wWbryzP2ZCLBdB6Ig4x+kQXG0h3Ql0RaP2A7RrkxQoLa+l5CpqqKvGud9d5/6U8lVCxugVDO1XTJ/LfC08A1SWaQc9VeShh0isRXH96rszroZKdsYZs7+g== X-YMail-OSG: OaWauTwVM1mbTlNvepRAAs779hGOyxbudhVdfkxLb8NBtRDrCNTmDoLi3ePEN6_ ztHkNZbDrm_ln4KKSUuFJw6z0ebeOFonZJE3WI4Mn8XN1USq90Hk3gx21xcll7xHugGMRrEPO14W jKboKDywlfGja41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utSkhqDB99dGJ9RXFq93TJtRsnjhK7A9JzWT9bPRpKAPuSzkwQ8mRZjyw4 7R1WzYz2nvXaCTv2fhLW4hv5tem0rp0NOa2EPR2HdNSQNQtD2475PgSK8My.Y4qYcsrrUgwQEr7g KHXya1XPOkHjFoPhNLw4HZxLp5B3mNDndY8X2WIs6bMdOQM6zj5o.guGIMIm9RHev.02t7bUuIMY _GeS6D1Q.fcDA7fPUFfUsPiKLJ.SWxeoGs0lssIIIpSdLPqhJXGUZb1wCDfvSRUdNnyhB5pD8.8L .9JtktEFlu29zR1KJDb1uHgKdzez98.AX1uh5FkRJlHTHPskoyp1Zi1ggSuP4SBEpbKrD59PS3i4 9gNb_a9S8IqhGv.vuucCQJ80ZVJ2iQa1qw4dZN3G_GF3jQciuiTDNfnp1I0TWHTKnBz7XJL6Ipfc NqUNOiThimzvYZP1s2hiUhPXWvZbFc.aMrHmOU8OAYryhp0rw4DjY5Uy.sBNtMO.wZQ6WGySlxvd UtPBoR62Bh_fVQzyS22QCXLxD Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Tue, 27 Oct 2020 11:32:00 +0000 Received: by smtp418.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a17e6c298d581849fa229cb6b9e7735e; Tue, 27 Oct 2020 11:31:58 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: A RPi4 xHCI VL805 problem that needs to be avoided: "xhci: quirks: add link TRB quirk for VL805" From: Mark Millard In-Reply-To: <0b70dbc4-f118-29bc-d814-8fc0a5669382@selasky.org> Date: Tue, 27 Oct 2020 04:31:56 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <1FE53A64-DD67-41FA-8EF1-CD8D222947DB@yahoo.com> References: <0b70dbc4-f118-29bc-d814-8fc0a5669382@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4CL8gQ5szcz4gd1 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.32 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.84)[-0.835]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.30:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.30:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2020 11:32:03 -0000 On 2020-Oct-27, at 01:02, Hans Petter Selasky = wrote: > On 2020-10-27 00:58, Mark Millard via freebsd-arm wrote: >> https://github.com/raspberrypi/linux/pull/3929 reports: >> QUOTE >> The VL805 controller can't cope with the TR Dequeue Pointer for an = endpoint >> being set to a Link TRB. The hardware-maintained endpoint context = ends up >> stuck at the address of the Link TRB, leading to erroneous ring = expansion >> events whenever the enqueue pointer wraps to the dequeue position. >> If the search for the end of the current TD and ring cycle state = lands on >> a Link TRB, move to the next segment. >> END QUOTE >> Also: Dealing with the link trb also toggling the ring cycle state >> is something to watch for according to the later notes. >=20 > Is this an issue under FreeBSD too? Can it be reproduced? >=20 I've no clue how to set up a test to see if FreeBSD can set the TR = Dequeue Pointer for an end point to a Link TRB vs. showing that it somehow = avoids doing that. I reported it on just the basis of the claim that the controller = mishandles the condition if it occurs. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)