Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1556587iog; Thu, 16 Jun 2022 08:44:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTlgx+YMh14YZLr+P5NigPe+dkjXexRE1kMHU0VvKRL5HLHhAtID18yGnKMWsKYMgx2DGy X-Received: by 2002:a63:1e1d:0:b0:401:a251:767e with SMTP id e29-20020a631e1d000000b00401a251767emr4976758pge.26.1655394252217; Thu, 16 Jun 2022 08:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655394252; cv=none; d=google.com; s=arc-20160816; b=rH/TitpIbQGQkNFQ8ZFVH9Kcc2CWa+FYm4JcqM3nIWxT/vIyCxs+mjSbgiPLBaeKwS SgUXTRqwljtQzpp6hMw5lW8OByEtmvnaoibOPy9N6qu+h6iyRm5q0Z0TNX8yS11hnSeX EH1+Xc7VzSXCeDoL9lAnvrvZUmO+GN9wGzRJyPDCUR4QIYeyE2vXqL8x3Ny/8DwdImQG CkyEDrUBVUVuwj0bKfHFlSZ5jLVrB1DH3/J56mscENxTQ8I/6wJc4ee5OrTGt5xSBwYi NSdN3UoaCciMQ/FRpx4cNBFpkiJitEzg0AmaRXoVUW2if1I5yFXP+t9oX/71vmwL2bR3 CckQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=eXP8JImYusYVmz1XFgz6F/idOIpZUqokxeO9uXWtnWI=; b=GQo3OkEo9UgVZf/ZksJGhe0iZG3lxYW7Xgs+PijUaB9fNoJXmxt/ystd477vJ89Kcj P8cqb+i0UKOwssRntWMJzpD0dPBx5s4/J7mJh1ZIXY7/DVmBGR1OGXeMCeO2WJF2YWuX Si6INZshP1tAIVK5QgSWM2x2qhALo44GOBwYR8YWo9oEWBrGxC+9VtrAAOEM52dJo4g6 fJLlh/VNzWAjSbd8ntpaSghBuxRsHCiPHR7Nz78+j/h0Gak5OsiIGBSPDUlgqWSR8OHJ AEi2lBuAvjA50fgz0R3PF2MrKVgg/F24WnXwCS1qdmx1XkGbP4BGUFxEcLwA7PuPnTmF hTKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=KRUEUBUy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7-20020a1709028bc700b001678ce9091bsi2530525plo.554.2022.06.16.08.43.59; Thu, 16 Jun 2022 08:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=KRUEUBUy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377750AbiFPPDN (ORCPT + 99 others); Thu, 16 Jun 2022 11:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236304AbiFPPDL (ORCPT ); Thu, 16 Jun 2022 11:03:11 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82686B4A1; Thu, 16 Jun 2022 08:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=eXP8JImYusYVmz1XFgz6F/idOIpZUqokxeO9uXWtnWI=; b=KRUEUBUyuLXtfTp3+c4njGOSw9 vEDot6VYfqIJ01TjLkccAS9FePTHekgVapd/ZzYWPmXEXA+RSFIUCXgcE4i50W6m4fCnG86csGQyX 2fPfw/RqUdF4HEmx4JlxDoLwTB0EWagiVnntZpQaqWknDkJxM4E1QP0tjaadRQit0B1awN3dL+OZu ZsZePFuAxZdy2RY5zt1kIpOlK2HQCMVQRqiaBTPCUQZRHL01dW8Ib9Xq+0BcfW1mwxgzWyFa88QqN FSAPYfcU9mx5op4/SWDy3jKI0BU4lwAqlSxpSWdiQOCvm8mzCemKd14GlH1PVzlSGikdp93WSV3Ok ZbnXZCJA==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1r0x-008RS8-4P; Thu, 16 Jun 2022 15:02:32 +0000 Message-ID: Date: Thu, 16 Jun 2022 08:02:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v8 1/3] ipmi: ssif_bmc: Add SSIF BMC driver Content-Language: en-US To: Quan Nguyen , Corey Minyard , Rob Herring , Krzysztof Kozlowski , Brendan Higgins , Benjamin Herrenschmidt , Joel Stanley , Andrew Jeffery , Wolfram Sang , openipmi-developer@lists.sourceforge.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" References: <20220615090259.1121405-1-quan@os.amperecomputing.com> <20220615090259.1121405-2-quan@os.amperecomputing.com> <8b7841a9-9313-b1d5-8a80-a65cfa8e7b4d@infradead.org> <74f94464-a095-f539-746a-853b8f1d52ca@os.amperecomputing.com> From: Randy Dunlap In-Reply-To: <74f94464-a095-f539-746a-853b8f1d52ca@os.amperecomputing.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/16/22 00:25, Quan Nguyen wrote: > On 15/06/2022 23:06, Randy Dunlap wrote: >> >> >> On 6/15/22 02:02, Quan Nguyen wrote: >>> diff --git a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig >>> index b061e6b513ed..18a89093d64e 100644 >>> --- a/drivers/char/ipmi/Kconfig >>> +++ b/drivers/char/ipmi/Kconfig >>> @@ -169,6 +169,17 @@ config ASPEED_BT_IPMI_BMC >>>         found on Aspeed SOCs (AST2400 and AST2500). The driver >>>         implements the BMC side of the BT interface. >>>   +config SSIF_IPMI_BMC >>> +    tristate "SSIF IPMI BMC driver" >>> +    select I2C >> >> No. That should be: >>     depends on I2C >> >> We don't select an entire subsystem just to satisfy one driver. >> >>> +    select I2C_SLAVE >>> +    help >>> +      This enables the IPMI SMBus system interface (SSIF) at the >>> +      management (BMC) side. >>> + >>> +      The driver implements the BMC side of the SMBus system >>> +      interface (SSIF). >>> + >> >> Thanks. > > Thanks Randy, > it should be change to "depends on I2C && I2C_SLAVE" Either way is OK for I2C_SLAVE AFAIK. thanks. -- ~Randy