From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF8E7C433FE for ; Wed, 5 Oct 2022 23:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OTt/wS+Fw8EcLrgDWHusrZ9KFdGPZbJ6UVN4rSQJTIE=; b=CsubOT+arXJKq3 8pcGhkAlUZWyhSsXU4pVxCNi0U9Z59p+cC4ZEPP7o+HDmNgMv3ELqHVF69QdVp5nGfxAS+tjw7yU0 5axBLK/w8IbKFx7SSCWTqW/qOphn3KiR+92V/+YGd+wkkcBsWx7su6A9Z36exSdoyi4GqdWBxOAOr kymdBaiRLcfcFW0c9b3+/Ftl0sO9sQD4I215InvPerHvT/0u9EQoM/5aJrb/gdjbytT7IXp9JA7rV 0d4j5K5aVpGwa/szsbX6Rai3JA/oq+3Bo6ElkxPTICUbbod83csU+5pWG5cKDvq44yYvmLieE2zZf HImXmjPEd8zWeZDHStEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogEEE-00GaHU-F6; Wed, 05 Oct 2022 23:55:06 +0000 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogEEB-00GaCS-7k for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2022 23:55:04 +0000 Received: by mail-qt1-x82d.google.com with SMTP id g23so178063qtu.2 for ; Wed, 05 Oct 2022 16:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=0XThhC9U9uKIxJQZ665eKAgfnugmApozs76ScmLZwBk=; b=KSYASXbbQEnw9dIt1qkDOuDA0+QasmExuyaVSAsBd91F6GmYOyH0wPFBbWUd2SDuPt Kd3u4wpivOfmtt4sWJlNrFFkqqvV8f0DLJWsedYyEQOqFKG+4wYoNjmU7UYmwonJVgba UcykNav6fHuYOn2yHnk2YZrMx+dCZo4vkbYcBCbl5DKSGnKd0K3+enoOoQAZ5rYJdP8F Eialm1q0BgCKh4h3pSS8fGqJqacuW9K5WknGiJPDgtOre9+AO9L9f09d5iCjyJTo5rlg xCxAG2+koKTtIHDpzRUMp5XtfSIe8foYuVUlkWUe0f/R5mxhDmn31CETqJUaSCXCWqAX 7OWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0XThhC9U9uKIxJQZ665eKAgfnugmApozs76ScmLZwBk=; b=PuqyF7lGZgvej1gWCtOgOZiXTfuQe3HNlRDMuNODo29LvLQxsH58x/EtBXjcQAb4aC 5qCJftzHjyVjP7K3r3oRVPV/BUoN6bd1Yj6ADzu7VwosTdsIbY4P5bBV9Am6juzjLzFv 0HurO5WdGCR+LgPXbWD26ozxmGDtNxcTXVrCClih18uiEEyeL8c7bxL4MViY56tOTrrA gIcnOWdiQtZ8gXSSZIatV5mAQJwKRSmZna2U9uF3HRTrWUvQ8Tg2kxF6ZLvuGcDFxPBw Nt9SqBRUl6B2pKXg+TTpqp7HPjHi0nEvYNteJ8AYCzJ5Y/2wIdUo7cWRZBkHNG2Pj74S 64Dg== X-Gm-Message-State: ACrzQf38wPNbxCwDqqfZk6UlMyXCuQyCxlLv7vEYPU5+dquqSNlPHu0p +bxQzci8t9NGI1+SQ6ERyg== X-Google-Smtp-Source: AMsMyM4eROnmK5/Ehiq7Es0N/CNTVAElIT81oT1dQCstYathZwqVIbJlW0dOv1IpRAIF68hTPKC4ZA== X-Received: by 2002:ac8:7d13:0:b0:35c:e54e:9c8 with SMTP id g19-20020ac87d13000000b0035ce54e09c8mr1590034qtb.320.1665014102301; Wed, 05 Oct 2022 16:55:02 -0700 (PDT) Received: from serve.minyard.net ([47.184.185.126]) by smtp.gmail.com with ESMTPSA id bi27-20020a05620a319b00b006ce611aef61sm19661018qkb.95.2022.10.05.16.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 16:55:02 -0700 (PDT) Received: from minyard.net (unknown [IPv6:2001:470:b8f6:1b:2d13:71e3:7ea0:219]) by serve.minyard.net (Postfix) with ESMTPSA id 22E3F180015; Wed, 5 Oct 2022 23:55:01 +0000 (UTC) Date: Wed, 5 Oct 2022 18:54:59 -0500 From: Corey Minyard To: Andrew Jeffery Cc: openipmi-developer@lists.sourceforge.net, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ipmi: kcs: Poll OBF briefly to reduce OBE latency Message-ID: References: <20220812144741.240315-1-andrew@aj.id.au> <08c20621-e75d-4a72-82e6-b1980304e20a@app.fastmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <08c20621-e75d-4a72-82e6-b1980304e20a@app.fastmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_165503_304891_292CE1E8 X-CRM114-Status: GOOD ( 14.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: minyard@acm.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 06, 2022 at 09:42:57AM +1030, Andrew Jeffery wrote: > Hi Corey, > > On Sat, 13 Aug 2022, at 00:17, Andrew Jeffery wrote: > > The ASPEED KCS devices don't provide a BMC-side interrupt for the host > > reading the output data register (ODR). The act of the host reading ODR > > clears the output buffer full (OBF) flag in the status register (STR), > > informing the BMC it can transmit a subsequent byte. > > > > On the BMC side the KCS client must enable the OBE event *and* perform a > > subsequent read of STR anyway to avoid races - the polling provides a > > window for the host to read ODR if data was freshly written while > > minimising BMC-side latency. > > Just wondering whether you're happy to pick this one up? I haven't seen > it hit the IPMI tree yet. Sorry. It's in my tree for 6.2 right now. I can't push it up to for-next until 6.1-rc1 comes out. -corey > > Cheers, > > Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel