Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp878814pxu; Fri, 4 Dec 2020 19:15:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMtdztuI2i3cdicgy2BmvIusR/dLacsDRqE17DVCbJ3We96mBsW0UFE3UUUlASqdIf99x9 X-Received: by 2002:a50:b021:: with SMTP id i30mr10564264edd.270.1607138113349; Fri, 04 Dec 2020 19:15:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607138113; cv=none; d=google.com; s=arc-20160816; b=KHbQUf3FqmxNJvBsB0FnU+nuLYFYKmVmQfLrmVKxBdCENreTK44HZqlL/ofGTmjwZc tD2jHDvbLC9aNtJTX9++2AwKmlCFCo0dDH2BaNsg0dpM1CnCy+9ipT35565VHRq3/UWW btFh3MuuMt/uLFR3rwBNzfSkhIjN2tsKzCnBTtBCstOJGvaAm2lH+QpQP10s73rj4XY0 HBIatn+RVzwZxuFDkPglvLVtRJ+F5nnEwBTPLnEfE9GDkg9o9p6/Nwcx1ifG5Qo8aHrW YkQzoPB+EEq1ERjFFzHU1u34Qsf9YXsz/K1XUY/6kkL2xFfYmb7c2v8VumWv6wxPo/iE 4Tmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=B9OO3DfmDhv9Fftk6N6LHSCXlor4YOczhSf0cqrc3zI=; b=wS+yRSfBYZsL7IWCYslqzkfo0i6ZrMDOUovof1umBL4K4rV4dLlSH7neTtHN04dxfR g+Tv8tzWUojsWnRqpE2V9qCco1Xx5WSo5LxgA/5FzSAZfklVG/gyZDY64nqJCBdCyzpt AQ++CFyjIvft8DO8vKYoR49CPbjGjv/6fgmxu0SpyvudJBcf/sQ4niXoNSLDFKZY0YAH fHIutFrjVPYBY93D4DFN4f7mlO+EIXoa+48dgS5i84bEbKe0wJuibAYlyKA0/SelD1mN nCSkYY02UUOAtDozLvi9cNuoCxb3VJ/ZEVWlxh9RNsVUa8tv6vT3QIu/n1TiL7t8vXqu /sEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si4111837edj.313.2020.12.04.19.14.50; Fri, 04 Dec 2020 19:15:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727724AbgLEDK6 (ORCPT + 99 others); Fri, 4 Dec 2020 22:10:58 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:40126 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727614AbgLEDK6 (ORCPT ); Fri, 4 Dec 2020 22:10:58 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 7137B2B617; Fri, 4 Dec 2020 22:10:15 -0500 (EST) Date: Sat, 5 Dec 2020 14:10:21 +1100 (AEDT) From: Finn Thain To: Geert Uytterhoeven cc: Benjamin Herrenschmidt , Michael Ellerman , Joshua Thompson , linuxppc-dev , Linux Kernel Mailing List Subject: Re: [PATCH] macintosh/adb-iop: Send correct poll command In-Reply-To: Message-ID: References: <58bba4310da4c29b068345a4b36af8a531397ff7.1605847196.git.fthain@telegraphics.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Dec 2020, Geert Uytterhoeven wrote: > Hi Finn, > > On Fri, Nov 20, 2020 at 5:54 AM Finn Thain wrote: > > The behaviour of the IOP firmware is not well documented but we do know > > that IOP message reply data can be used to issue new ADB commands. > > Use the message reply to better control autopoll behaviour by sending > > a Talk Register 0 command after every ADB response, not unlike the > > algorithm in the via-macii driver. This poll command is addressed to > > that device which last received a Talk command (explicit or otherwise). > > > > Cc: Joshua Thompson > > Fixes: fa3b5a9929fc ("macintosh/adb-iop: Implement idle -> sending state transition") > > WARNING: Unknown commit id 'fa3b5a9929fc', maybe rebased or not pulled? > > 32226e817043? > Yes, that's the one. I accidentally gave a commit id from one of my backport branches. > > Tested-by: Stan Johnson > > Signed-off-by: Finn Thain > > Thanks, will queue in the m68k for-v5.11 branch. > Thanks. > Gr{oetje,eeting}s, > > Geert > >