Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5111113pxb; Mon, 15 Feb 2021 09:44:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0OH+5KMvWcyEn2BuuwJL8DwrVFpuFkAAF4tH373s5oi1Gq7nFQ9cSYTpuJ/rHyq32gw/V X-Received: by 2002:a17:906:25c4:: with SMTP id n4mr16949078ejb.359.1613411070315; Mon, 15 Feb 2021 09:44:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613411070; cv=none; d=google.com; s=arc-20160816; b=KO9+5gE/MeV5APtSgVdnWCq18yhzCSVr9tTv5Z0JXOXU67WeMnFVG8B0DDu2K/6Ru/ hxrTrSEVtkGQ5BvDzr3JBXr+T5uloT1XpLbGg1zxqEkyf95jU/9ql5AP3eeU8VL/Ckfy IRjWE3I7xb95MbNqoZRMRmqHUbJX3Ebrd+1a+6hPmyC09ep/Znfsc7xyHNZUapni7Fj2 GD9ysrk1jUP8Iaeblg2KgdYTYvDKax0SQzXJhrN8B3gRZvpgSRmyLDMbMcKlxAb2TOzA G00UUZ1R8RzYVr0iKnVl758vJVL54/WRYkEltd7aNZ6wAUYkGNQ27Jsc3sh5wDI/+drb PF4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=NOxuPvdl3adnseOS0zir9JAd/6pRHQV8bpyRj8Y5/dU=; b=F0obxAFZXNDBJhc8uvsTv7jss55jftUo7q3EIH8ATvx4p1KXjqqdB/hM9OUdYMt7yV 5PUM9joQ2XCQ7qlVMYrJNWMfVXB8XY0BZer0FfoCWh2I7Ugz0EMlgOIHe/CsLmD4JyVl 2xZq+5np6/PYdXbjWjS+1pbCF2k3ePKOK23nHm8+d+5xjVASEmEKdvzomzBKg6C98+62 DJHturTB01MOLt5NvoT+wIJaLU8ErqNYw01PLx7YICBtP2NMsU4te03EPj/rHSCzO454 990nIgJKhONjdlSFi8FgdF4HBbBWbYDTK5T1O4XJKVTGW4XM1CgLgKBumTAOfGspYiO4 ZxMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZxSikTfH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m5si6812310ejk.585.2021.02.15.09.44.07; Mon, 15 Feb 2021 09:44:30 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=ZxSikTfH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232001AbhBORlM (ORCPT + 99 others); Mon, 15 Feb 2021 12:41:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231952AbhBORLE (ORCPT ); Mon, 15 Feb 2021 12:11:04 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5E9AC061574; Mon, 15 Feb 2021 09:10:24 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id z22so8936130edb.9; Mon, 15 Feb 2021 09:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=NOxuPvdl3adnseOS0zir9JAd/6pRHQV8bpyRj8Y5/dU=; b=ZxSikTfHITLybPXlf2dSB2rpsC0vveAOGNMXuRm9/lAS3RV5+CCa8YSDKJRBMgi1HA 8Kot76/XdQPRI2c0sMmDNrjvHLwuVNtjPVJDCi5wJSeW4i2mLhiSEqbspLYYv3jXjiwd 9kvThjpu7/zgpH8nFQPzLzCwo5Dvx6GAB+sf4GmNZvkzAofDYzy7/dsDNksEzWx3CJr+ PPXeQuqT9806UE2GYMHEu/vXiwa5KrNHgHwG+oQ2ytmjWXmloG5GLYbYoSpt7f5k5ZwN hXS6sxVECYih1d3fCGjBO+U2BW70P1W6iqxqJonrq3YSBhFKumDLXPrdRNXaBUcHH9Zl 1oJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=NOxuPvdl3adnseOS0zir9JAd/6pRHQV8bpyRj8Y5/dU=; b=HIHhEjlfivwHtf4YTd3xcaL87qOiqPfzUKj4c1FLBpfnyUoRI7jxgAJvuyewwZz2Mg 474G0b4v7J6Fyz374Vogdp7hyzTOmuXFc5ftcxex8sETttOIfGZtoXfjneSwyLPoc2Wo 2rn2se/VPip5dd9+2nTMBNkg1xcdtwukmGI/Qt03oQIvJfBQAmbmtCjUsOt0LPAI5nW3 6gG7x9EQcgdqz1yCtMK+UGLBSk1lzQPSOOxHOmUazf2WjVk/HedFzBEsAOf2uLI1tomO y6DEbFgxuy1y1YapYRAxcl06HHcSIa6KfQILvNnW7a5mXNvFAKXxTv5oB+LM5n5j6nOV BkSQ== X-Gm-Message-State: AOAM530hy7LcPjkGm82ZO8McBmRoBmjIFFyxVTOMUE8wjR7TprzUOirI YHNo2zduLbdjwY2DLp1tmos= X-Received: by 2002:a05:6402:11d3:: with SMTP id j19mr16591525edw.314.1613409023654; Mon, 15 Feb 2021 09:10:23 -0800 (PST) Received: from ubuntu-laptop (ip5f5bec65.dynamic.kabel-deutschland.de. [95.91.236.101]) by smtp.googlemail.com with ESMTPSA id x25sm10480712edv.65.2021.02.15.09.10.22 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Feb 2021 09:10:23 -0800 (PST) Message-ID: <0b400e9e2d49f4ad14e873a3f4bb59aa099a5e7e.camel@gmail.com> Subject: Re: [PATCH V2 3/4] scsi: ufs-debugfs: Add user-defined exception_event_mask From: Bean Huo To: Adrian Hunter , "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Alim Akhtar , Avri Altman , Can Guo , Stanley Chu Date: Mon, 15 Feb 2021 18:10:21 +0100 In-Reply-To: <20210209062437.6954-4-adrian.hunter@intel.com> References: <20210209062437.6954-1-adrian.hunter@intel.com> <20210209062437.6954-4-adrian.hunter@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-02-09 at 08:24 +0200, Adrian Hunter wrote: > Allow users to enable specific exception events via debugfs. > > The bits enabled by the driver ee_drv_ctrl are separated from the > bits > enabled by the user ee_usr_ctrl. The control mask ee_mask_ctrl is the > logical-or of those two. A mutex is needed to ensure that the masks > match > what was written to the device. > > Signed-off-by: Adrian Hunter Hi Adrian, I tested this series patch on my platform, and you can add: Acked-by: Bean Huo Bean