Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp450041rwr; Thu, 20 Apr 2023 01:31:54 -0700 (PDT) X-Google-Smtp-Source: AKy350bd8bMULMnj8fNd2CMOyeUXfBKIRTAOjDp88hwg0RQpgJx/2791cP1q3ITgbnywyLBvCAJT X-Received: by 2002:a17:902:ea0e:b0:1a6:f755:a4bb with SMTP id s14-20020a170902ea0e00b001a6f755a4bbmr1048355plg.0.1681979514223; Thu, 20 Apr 2023 01:31:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681979514; cv=none; d=google.com; s=arc-20160816; b=rM90mV3EMn8x2fy5vxsiSZqoTatvBPfqw/s7D59I9Mh7J/gIuYFJrCHuLfXqzppX0P iS1+UeTTwDQ1ytUu/jvcM2dRFY87ki4OmbeW85etIVBAu8n1akRGFv5ioioNkYS5Pj3z qjSd4rjRjVcwlo5y/jk0F0EOguwekH02Kvaoep7yPP1YkRMTgLD+FdpqmA8HR0wk88WB 7f634bxRqK7G57ebxwj2GEphVUxtFMNQ7uNnlItHJveW6r3nm2Fv6aE3KFoWVXUeXI4N JEK5zKgkABi/6JGqktHArUaOCD5P5NKtES/ACaALOa9ais/OMfvPQmwN1faaUB6beQP8 WcMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=M2L6QfI6noL5ayMqh7t26lmeCeKj38qXmyYBadQ4n4k=; b=BXeIpmLvLjEKTaG9tbUXkve20DTK3iUgSdzjH27q5iyIImpgZ7cyowKdMpIoxNOMbX dJJbZSFPkYNJEPxAA4G5u4kH+eLjymUwZ+ZePcuGHaCfaQ3YK5+0jZ2axIbkCzF/RR1Q trUwUC6/IjNTHO8eK358/K0e8SxL7Tr7NiCsse02ZtDMituIX5u7PAj233D5dGdhzkpy FmIxixDcEV/KbyJ7js6WZv08yg2Llw7UO+i4y8jryH6ftPLNpFnxyjC8N/vxtSTcJMhe vEVs7ZbYvpiH8AIqVWCBMRsVHAzYornV55RE/BnNpv+yPoUG+TBagF+D8WPl+9EqUpWB L/dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VSINmG1S; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a170902e84400b001a80ddd372csi1403670plg.43.2023.04.20.01.31.42; Thu, 20 Apr 2023 01:31:54 -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=@intel.com header.s=Intel header.b=VSINmG1S; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234328AbjDTIIt (ORCPT + 99 others); Thu, 20 Apr 2023 04:08:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234042AbjDTIIs (ORCPT ); Thu, 20 Apr 2023 04:08:48 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7276E10FA; Thu, 20 Apr 2023 01:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681978125; x=1713514125; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=zJvun7RpBFxuzLECfz2qxFMSQrcTU4dMCJpc6Mn8Qsg=; b=VSINmG1SshZHO7G4uutjNb7njjul6IC+eSzPctbWtC8+3XGuMXzdgjQw Q+70k0HClvBIMRtKuggaGXygE/CU3DN+unC4X2eK8Ml3XW5wlPzs0XKhl qVbn6y+l6VklyNGLKZD89Hru6EM50lts5a8NTWIzr9jWsS9Y6s9XGT0fJ OhuDfh+6M2boQuJxuvN1f1nArSTG8oRQjWlIGrSpJ5xYgRD7bzSg5tYmO L7ih21y2UjloQoVMphjRjY/asCACEdJ+mXQ7Dql2RNr45s1V58pD++S2B vVsHDFtqMoqATWVdLL6cIcoPQK7PtcQ3ivqA2ua6KJFtjk0CxUSpzER4i Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="344422575" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="344422575" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 01:08:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="781157973" X-IronPort-AV: E=Sophos;i="5.99,212,1677571200"; d="scan'208";a="781157973" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by FMSMGA003.fm.intel.com with ESMTP; 20 Apr 2023 01:08:42 -0700 Date: Fri, 21 Apr 2023 00:09:13 +0800 From: Xu Yilun To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: Wu Hao , Tom Rix , Moritz Fischer , linux-fpga@vger.kernel.org, Lee Jones , Jean Delvare , Guenter Roeck , Russ Weight , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH v3 2/4] mfd: intel-m10-bmc: Create m10bmc_sys_update_bits() Message-ID: References: <20230417092653.16487-1-ilpo.jarvinen@linux.intel.com> <20230417092653.16487-3-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230417092653.16487-3-ilpo.jarvinen@linux.intel.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, 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 2023-04-17 at 12:26:51 +0300, Ilpo J?rvinen wrote: > Wrap regmap_update_bits() with m10bmc_sys_update_bits() in order to be > able to add additional checks into it. > > Co-developed-by: Russ Weight > Signed-off-by: Russ Weight > Signed-off-by: Ilpo J?rvinen Reviewed-by: Xu Yilun > --- > drivers/fpga/intel-m10-bmc-sec-update.c | 30 ++++++++++++------------- > drivers/mfd/intel-m10-bmc-core.c | 9 ++++++++ > include/linux/mfd/intel-m10-bmc.h | 4 ++++ > 3 files changed, 27 insertions(+), 16 deletions(-)