Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp244483pxu; Fri, 4 Dec 2020 02:07:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+ep/qC1nlOwuTXMUhEx+Ly3FM7FFM+ui+s/PP2Ii3km+yBxsJsOQOwXksnTi0QXGenMQX X-Received: by 2002:a17:906:2e85:: with SMTP id o5mr6304756eji.521.1607076444522; Fri, 04 Dec 2020 02:07:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607076444; cv=none; d=google.com; s=arc-20160816; b=0OCDCuujv8uGNAS4rP5b7ho54NSd/NOKySm2XPSWBGuWIMvJxAB7YN2+0njEiWFfzi G7Jsq8Y0MC6NrJopQ1Aat6OIjZZ7QuaLm1wm3wR6xzz8a7UZrHZn0kxJH4hktbnZ0XnV tJV1mRd69T9jWeUERiv6sLnTc+b2Xzun3uieB+kaGkrpFLM5/4QA+CQxwBioKexsuiHG PO4ntyrARinBWCwMuVS9TgciFmcuy6iDL29/geow0pyc09yEnJrcHtTo0/oAoJKtGtaY Flr6PRdqh6OkY29pTKNyOodeLpeYyEQBS0Bj5kmTySlWtz7JSEc2mIidYX9Z0rM1CGS7 tdfw== 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; bh=GLHkAaCfT5pWLivXy5Xgz7u2ThT5u7Up7pqYnjb3zk4=; b=lCG+ki8qMLCUNr25XvuwX/h4RMDu0XM/PV+JrcnCJa9H+ut+1o9TffWJ75usaf92sp 7EfxuSiWzvXdfC3Jlq2sySw2AgfT5MrSp02fmlApRzYq3kBo9+YutQPgqmSbyOhkaXjU A5bjEEyHrsHvr0nkVeCxTHF5rF54cmWQRfWkUyaY06ycDBzL/dsHDilw4HLvW9PoUMBM 0xvcqg2fmpIMPKO9+lhsZc2skX2uxHvTuVuNGg0rRQd2YuDkh3U4ce2QT31n2XhYkTsm n79vUx8DdbLFnMsUhQOOml0gikN9RCRaCX9uV1k+zOkgGRgN3wZOuhqcKHlwD60yC/UY ZKYQ== 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 gu26si101485ejb.461.2020.12.04.02.07.01; Fri, 04 Dec 2020 02:07:24 -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 S2388068AbgLDKEW (ORCPT + 99 others); Fri, 4 Dec 2020 05:04:22 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:45753 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388059AbgLDKEV (ORCPT ); Fri, 4 Dec 2020 05:04:21 -0500 Received: by mail-ot1-f68.google.com with SMTP id h18so656773otq.12 for ; Fri, 04 Dec 2020 02:04:06 -0800 (PST) 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=GLHkAaCfT5pWLivXy5Xgz7u2ThT5u7Up7pqYnjb3zk4=; b=r7wRhnDa36wMElIeRzQu6LYuOHGGk3wzvBlzSck5cVlaaT+I9lKkguYrrlXNn3datH O3HoLU4H05JbpXQo0A642hFpp69/oXCSPkftrj4Bf783xtlqE+R/VNsZguv9x1OQfxiY iZvzXDYD2wt40c0WWpIn/QHblYN2wxQfp6lGhG5inktgipJA2MPzGjuOSxJABAziYmfP M8vX6txgXLtbcPStPBkKEaf78q9h3U+uaxM+z7XwiwqloTE409mUQi7NRdlTsDbHrEuz JXLsio1qlINmd2/DfDURf77QPAlzdLwFt3JSy8YWFpmbQxm/KtMvN00M1BaoG5Zdr99H YFUg== X-Gm-Message-State: AOAM533H8wELSFx3N2pQRroPtnPB3ZFhqAQKApJEH5tlo6Nn+cRjZSo5 QZqTVslIDWuun7YUMltu6AUVU39LBReHKDpkqnfyYY/ATzA= X-Received: by 2002:a9d:2203:: with SMTP id o3mr3024405ota.107.1607076220971; Fri, 04 Dec 2020 02:03:40 -0800 (PST) MIME-Version: 1.0 References: <58bba4310da4c29b068345a4b36af8a531397ff7.1605847196.git.fthain@telegraphics.com.au> In-Reply-To: <58bba4310da4c29b068345a4b36af8a531397ff7.1605847196.git.fthain@telegraphics.com.au> From: Geert Uytterhoeven Date: Fri, 4 Dec 2020 11:03:30 +0100 Message-ID: Subject: Re: [PATCH] macintosh/adb-iop: Send correct poll command To: Finn Thain Cc: Benjamin Herrenschmidt , Michael Ellerman , Joshua Thompson , linuxppc-dev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > Tested-by: Stan Johnson > Signed-off-by: Finn Thain Thanks, will queue in the m68k for-v5.11 branch. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds