Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1150463pxf; Fri, 9 Apr 2021 00:59:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweGQu7jlnNVkP3G8F3fcuw/8ciVSnBSU5KuEg7YWiFFfzA2Fd8f5NHj7QOGKGJoBBJJYcB X-Received: by 2002:a05:6402:1853:: with SMTP id v19mr16122651edy.179.1617955149657; Fri, 09 Apr 2021 00:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617955149; cv=none; d=google.com; s=arc-20160816; b=DsHp/3Pw/JblLJ1xlsMcEW5NoMh0pNJHbWSELU9xSUjpaZA+Qm+3K5MOWBEGcmC1Lp TJ3mCixEElu+zbikGuEo34D0mr6JPz9EhALCrRPTCEyOwgQ21nmJ0Vpx1frru0c4e7lU D5Xubi350rurpvDpJUgxHbSfN6s+xeyLsesJH92dvIGIkKgCWm8gekiDP6KeKk4SUSxo FOmrO4y1B6rt36Eq+oSUbWQKRkkfzagauKwlozAL9aF5OD7y4DicyJH5a5Lfsd+pLB9K 8m8KdSZCYITds1DkuXg5fg2nQao0UNeSrYRD6O9oLhaTaIcBQSlDvHS6oBtnzHYQrsvD Bbug== 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:dkim-signature; bh=kC1gyjjvixHuC10GjKYmtYDSPw2FrhbzPlolo7/gxTY=; b=lQQsrz9M9s3OcQu6crT5TOxTAl5aKnVXn01/FUw9eT5RqOMOrJYk78z6LUJlp3IHiP jqcgMb3gVacwNyV0gg1az7kKJaBKKKDuHVytftThr6ywswIrPpPyNcYaK380egYyhn5D Mn5J/yJnpjQOZ1956whzz1dpywmBfSEFQ1WRdZqemcRDNtsnexXJ4QB1h3CuSViMP3Uv qp5hl3iJAQZs5IduLiaHFaMBwVeCH4tk44OgfaAiDFMDb5q7nYysDWgqcubSJ2ry9RZx my+ze98IR6EDij87yE9LofHb24yIj0hRhJpDKOnGW8glwStQuXNp/uvWUlKtUA/MPjF9 fyTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u2BbVFCG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by28si1711926edb.412.2021.04.09.00.58.47; Fri, 09 Apr 2021 00:59:09 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u2BbVFCG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232388AbhDIH4Y (ORCPT + 99 others); Fri, 9 Apr 2021 03:56:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:48160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232060AbhDIH4X (ORCPT ); Fri, 9 Apr 2021 03:56:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A500D611BE; Fri, 9 Apr 2021 07:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617954970; bh=g5uN6Pl+84n19Wf10nEdkopoOYV20QI0EjR4ZGbc7jw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=u2BbVFCGWc0iS4ph2dc5d1nDl187zG5P9pXL1Cm6UOvWXL3L0dBEsKrg9/h1POc19 h1WrlG2N5RR70AfSyZdWdMlRfjSGxKElfDb2SekhNnbfeKF4rnj6bxkOif0Ar50QQN L8FOwMyG1mXV7kTv/r2whQZMJUOhdTOYVDxPMGm6ArRqHL3EPwgc0LK+44RK7rTaEo QtrxjBMbCvXDQloY7nyKYEsuVDzznNlhD0KJKBz6g7AEXPQ+O+gkf4K5ostmrJzQXT Ao9W8Dtp2lp0FyPZk/qIJzxaOuEHjUxNrPcTk6TwRCsXKnPbtf7wW4aI220hiiVUBS iOtE6CzaWBe6Q== Received: by mail-ot1-f43.google.com with SMTP id c24-20020a9d6c980000b02902662e210895so4871507otr.9; Fri, 09 Apr 2021 00:56:10 -0700 (PDT) X-Gm-Message-State: AOAM533wqrDde4EzYCMRg7e5KTjTRx1/w++3Ha+pEjFrIcSEOZ1h+CHZ lnaaGkQHSE4W/ziTuOS2o46325t3o/c07NGzehg= X-Received: by 2002:a05:6830:148c:: with SMTP id s12mr11539093otq.251.1617954970003; Fri, 09 Apr 2021 00:56:10 -0700 (PDT) MIME-Version: 1.0 References: <20210319062752.145730-1-andrew@aj.id.au> <20210319062752.145730-16-andrew@aj.id.au> In-Reply-To: <20210319062752.145730-16-andrew@aj.id.au> From: Arnd Bergmann Date: Fri, 9 Apr 2021 09:55:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 16/21] ipmi: kcs_bmc: Add a "raw" character device interface To: Andrew Jeffery Cc: openipmi-developer@lists.sourceforge.net, OpenBMC Maillist , Corey Minyard , Joel Stanley , Ryan Chen , DTML , Tomer Maimon , linux-aspeed , "open list:GPIO SUBSYSTEM" , Avi Fishman , Patrick Venture , Linus Walleij , Linux Kernel Mailing List , Tali Perry , Rob Herring , Lee Jones , chiawei_wang@aspeedtech.com, Linux ARM , Benjamin Fair Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 7:31 AM Andrew Jeffery wrote: > > The existing IPMI chardev encodes IPMI behaviours as the name suggests. > However, KCS devices are useful beyond IPMI (or keyboards), as they > provide a means to generate IRQs and exchange arbitrary data between a > BMC and its host system. I only noticed the series after Joel asked about the DT changes on the arm side. One question though: How does this related to the drivers/input/serio/ framework that also talks to the keyboard controller for things that are not keyboards? Are these separate communication channels on adjacent I/O ports, or does there need to be some arbitration? Arnd