Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1191256iog; Thu, 16 Jun 2022 00:31:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uYX+Y/PGrq6WXI1p6TeBfwsYV8ae3qjZ11YzBLCXtTDvukbxC5QZ5if2BayAG77KRYuc/b X-Received: by 2002:a05:6a00:2185:b0:520:7276:6570 with SMTP id h5-20020a056a00218500b0052072766570mr3398176pfi.84.1655364686135; Thu, 16 Jun 2022 00:31:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655364686; cv=pass; d=google.com; s=arc-20160816; b=bwgxsERrtIG7JHjX6YhaWidMOACXF0siKGXj0yIIKZzal/LFlLMUFpHMbcL7evJ4F2 BY95KlLuAzFby99T4lXrNCFGC8pKmbCqxNMH+bPlfqaTit657eisWqnkhxcmQGU9Guim oFu2ED7KOInA6nr23wSDQFHdTQG/JxA6lsyhyg0D/cPHeS6Lf9UghsaRr95HkMZ0xW8B T2k6j3ZuuJ+rdzJrs9XtKTU/J9fvGxG32R0PCLc78EeXehHZzMa20E/KNaCy80sJwXWA AEFd4n5KIuT+PzPDSaPTp0aR+iW8HnWd+H9urslLE9ElRUyjTIKw9SduAGqz2OmFvJCk KeOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=juL03iFifOER4WNSwG2f9nk/iUpcJR7GEWZctOjcjvE=; b=uOKRR+q8Gh1yZfozSQGDmeVepd2ThA8A27AL0kBtxD76WbqHBLKNHxAexTeBksxCeD C48aVlym5xL2jcwyfiUOjOvgbNjyTJF+jkgiicOPuHaAnA+QmdSd7Si023sF0Z1p8o6g DEDntPG8uVqGjJBCgNCxCpECQrMjxTatwo12aXKWjvdCTPTTX/F79PlTUY8MOPcIymJh pFcVU/W/BWNIVE0aGaLgdOI3mqYi6kF+u0dXDfgryRY6w9dQ6VECtO71qrGRyjAiiVob I7yd2o1Iq2KH9tMJ5lzKoEtm72MaBqHilN/o/TbgYmPgwClAHEZyDUn3k7pXhv4+qOCn ktTw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=hpolDLks; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a170903024900b0015eb08a719csi1853321plh.512.2022.06.16.00.31.11; Thu, 16 Jun 2022 00:31:26 -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=@os.amperecomputing.com header.s=selector2 header.b=hpolDLks; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359186AbiFPHZf (ORCPT + 99 others); Thu, 16 Jun 2022 03:25:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiFPHZe (ORCPT ); Thu, 16 Jun 2022 03:25:34 -0400 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2110.outbound.protection.outlook.com [40.107.101.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CF63DDD1; Thu, 16 Jun 2022 00:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fxgOA98wqiwKRJtZr+RWqwn8ZLSczPPs4DVWDv27zQBy/YGBVSEKEnPRv1g9PZVR4wrBpfHsWqnGbVRiDRdYUG4J1Wbr3MxOag39Cjscrld4lRhitH9pW5EpSGLsNuKmzHU7S/nQr9M//CHNsDHu/wiSvHJQQfhJFbtK0WpG6iZ84Bjr3Vn5qw+wa/W1S+oPLXCa5PlBE6mT6+am/PCmpo9PNOyyOxxwpT0JKf5pWJB8nn/YLdCXwdbcZnxFbdXSRpMSDYl7TQ6k1Gun7RniVSo4/qcFJdXFl8Rmi1Q5x4d2YcnLuv4BGGEFNLQMx5Rb38NXnTMJczcLlHtT40+DfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=juL03iFifOER4WNSwG2f9nk/iUpcJR7GEWZctOjcjvE=; b=XVEkAn0WiH5yWmk7QBRC4jbYkvm8/K/K3onlUhifnu82PzAqAGWr+hr87UyjDECrbPgdU7LKVbN3AKmLfmUD+SbFSamJiswFEU38U2rvFUUtMf0e2uoHYMHJsrCASUkEAFBgfMK5gQLDUsgUQGek09gpt18+DeouBXvr7NuCDqjdfgbzs335sZl/CpUmxBbZXcl/e56TC0QHAdMu+ZVrfjy9KHIJhFpweUiGlLndE5f7qLbXRPj/LIlMDwW1ConTbZgOMKZ7yqkBocoIK77A+CgQ7lcUTI74w6iwHPnug33xlsUDmQ6Xyb33mIq4YQVe22QM1ddAQtYg3mkSZQ40kg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=juL03iFifOER4WNSwG2f9nk/iUpcJR7GEWZctOjcjvE=; b=hpolDLksv0lrRWI49wZqokpQ7WlcwyrVTrfgvhe3IOqbUAG1gxIEvKZLiBh00/HA5Odx+Dki4NyV87I6RsnPH/WDeqFwEUj4WamQx50VOEQnu9xV2xAZTWDl7nqZirMMaB/pZCvwgscxaz0Qcw+fTqQnePXlGuRFHTNkfrGpGyw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by DM5PR0101MB3099.prod.exchangelabs.com (2603:10b6:4:35::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13; Thu, 16 Jun 2022 07:25:28 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::7535:773:f979:893e]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::7535:773:f979:893e%7]) with mapi id 15.20.5332.020; Thu, 16 Jun 2022 07:25:28 +0000 Message-ID: <74f94464-a095-f539-746a-853b8f1d52ca@os.amperecomputing.com> Date: Thu, 16 Jun 2022 14:25:14 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v8 1/3] ipmi: ssif_bmc: Add SSIF BMC driver Content-Language: en-US To: Randy Dunlap , 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> From: Quan Nguyen In-Reply-To: <8b7841a9-9313-b1d5-8a80-a65cfa8e7b4d@infradead.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2P153CA0010.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::13) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b2b5dd06-411f-4af8-2289-08da4f696319 X-MS-TrafficTypeDiagnostic: DM5PR0101MB3099:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rCDr4GoEGWY6xcAr4osEC84FQckrC901gIwmqM/CuD6PxKV+l8njNSsAivA9qqM4ZZgxopFDnEgwVH2TqidWA6Eu19Xj6HSKx0rZYAbxBNHdgjgqhlANPbOQMOzSeCmWlp/we3rt3AL3cJa7AcV0ZK0uQCgtr7EUHpruQZFTaDkbTskqYZrVgZQ6CtGN5nWn2CvoBJsmDkIGtUt+DszFTILxLLlFgkGMgqhkWrZZJDfVJjWKUUwbrAdn8q2Djng/WKJDgtoR7IbjwHl6+8gPkxwJE3JHvsVHrneOmNwBzqG4vWYawa1nzoR7Okm34+57EbFHJZyzYDwcky/16bkQIWz/x+yM9MB/7FS9TRy/VsgLTJf/pr5s3CwcNsmnDTqjkDWcDzcm8AoedvhgZ5kRiz2kArKGMXoqpaSARvDOuVFusIMxjGTGCRmzK7PrL5Pl1Xkgb2evFwMlE0m+w8FdzYiE4ScQyqYa3w1B01QMTFPTPA25zG5aOcd41KmeKUjlzgaZbPo1UU+Mh+M5mxu2/u0AXmmzMrWqQlj0a5ASYisBVROZEfoxdKqC5/7WmqWi+/I5oxnpdWUNZcMAUt+bz/v0pMix53WdRm1XB4rb27AL96aOo7oYgVq1ls/Ot21S5B/lGDWta9b48EaC0ST7HmqgX8uySU0wBFFocp1CRvzGwL2aN4/rKo3cBH6rsv+Ro5gXSzagrL9zoSFPRShwBEQkO/7CxyVbpDF5Z9X3pzrts7s7LpYUW7I8MuhSf0XV X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(7416002)(8676002)(2906002)(6666004)(8936002)(107886003)(5660300002)(508600001)(316002)(66476007)(110136005)(38350700002)(54906003)(38100700002)(6486002)(921005)(66946007)(66556008)(4744005)(4326008)(26005)(2616005)(86362001)(6506007)(186003)(52116002)(31686004)(6512007)(31696002)(53546011)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cHRVZlprSURSbk51TEdObnFhczRaL2tuN0F2TkF6Y20xMGllNE9yWVY3dXZw?= =?utf-8?B?ZXFUdFY2Y3BMNTdjb1VINjl3NVdSL2l5OWQ1RGM2VGxVV3ZFUCtXVGtvQ2th?= =?utf-8?B?Mng0ektoejIzVlV5K0hTTllFUXphY1ppQ1Z0dnJ5Z250UHBDZVVhNE95TDV3?= =?utf-8?B?RTR3b0VxRmxpOWpRVko4ZFVaWDlyZFE4clhyaHJtWnZEQzZMd3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1dPVVRDUGlwQk5EVGRyM2RrakdTczUySG5n?= =?utf-8?B?L1RBcDZzZGdtTVFNcjU3Zk02WXBDY1RNbXJFZm03aldoamhCaTgrY3UwNzVv?= =?utf-8?B?SkJLVWhaWTRONVBDV2pxdkgrWFhJOG5XbS9vWUppZWhEZ0pZRm1QdXZjSzVi?= =?utf-8?B?RDZvemRyRlpOa1dLWDNaRnQwN09BQmpMc3FlKzBHNFV1WDdNNmd1Mks5WXgw?= =?utf-8?B?NkxPT3Z3VWFpMXR4eS9vOHowaThUK2lBS0NrdDJiRk56SXBjWVBFSnV4Yzkv?= =?utf-8?B?T3BoOVYxV3NWbFlVNnJuVmpBY3lZOWhQd252K0JOR1IxZUtWblRaUTNxZnFH?= =?utf-8?Q?5mJ4OwykjmaPoykPCj5JWBkixBACEIAmL3QXQ?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: b2b5dd06-411f-4af8-2289-08da4f696319 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2022 07:25:28.5025 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Hzt+lPH04neB8PYyFyXTzcpI8nmyCY7ht91kPxFKGQvOaXZwfhSz8stmHp/lF0hyM7pZMtEnHroljByX2dCHU9qItsSqGdUEt5xK+AsE0Xg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0101MB3099 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,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 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" Thanks, - Quan