Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp817067imn; Sat, 30 Jul 2022 04:23:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tj/WhY2ZnHh0eK2TS6DNR0T9gZb2/sYP3anyXPhmmwd0CM537Vrp4SRAIxW7ehY7G0dIWf X-Received: by 2002:a17:906:cc17:b0:72b:4561:9153 with SMTP id ml23-20020a170906cc1700b0072b45619153mr5746512ejb.249.1659180218041; Sat, 30 Jul 2022 04:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659180218; cv=none; d=google.com; s=arc-20160816; b=NAXDkLY3HcxOJYYd+ud9VulWCwuY8mCuJWiiI5T2Oex1mbW+967DmzZ9ajoV5bP8FC sYnHsbYPz1MS5tg7IXy+59ITMmbcEvI4khFMG21PeDvDT1ecPa3bDV+u77WaMFSTswe1 cc7ue8KrrsOJBv9CSJ+Sq6224+jhOT/6TgI8mJZ5eYx0wk9sA34rL6d+yTWuwm+VFNWq 0FK2RwG5Z8KZ3Qgwjo9wQ6MVScoBjUk3vBZtpqr5lA0x+3idc28Y3L2VE2ONqWaO7PVm t+t9Cb6wbQ0nJgyfo+KYsmRPXeYZy/4nBcqaorckYvvQlLt3wPt3oLo7spjMV+IbLcPX 4WMA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0NLVDI0Pb2sOvj37pqLZYhhLcjZ64mAH9H92yIQ7Vcw=; b=ROeZ/ZB7MV8VnnLea1Ot9OYIii+Q9+ZT1LbZ8lxZn8GQER/rNDPf91NbCXBdvSzzlb P0AfNtHf4v7mRWVMwtxYqGDEXLKTayftwqI8mOrPSjB3P5mljEhxvgb0FIIZeUC3C24/ d8PKkQlCyPHt5NJERuWBPLiakxHHIbqnmfNnq90Meo0q8wJ6UKlZBckOPTDtFRlqF5k9 W62QUTUtYuOPWIYcajxbE+77hNcnnkiy39a/aHwBklFMxD3MWyjgoIhgvCO2VmWVSHGZ iVPmmRdYZu2ohYAo2qW5Ie3/thVv9BLbaY/2TGkjv1ta4LBWYO5zlYcszRPPMFuJNccA sAEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vWsZezaK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x89-20020a50bae2000000b0043cd8cf001asi5162823ede.169.2022.07.30.04.22.57; Sat, 30 Jul 2022 04:23:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@linuxfoundation.org header.s=korg header.b=vWsZezaK; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbiG3LGj (ORCPT + 99 others); Sat, 30 Jul 2022 07:06:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbiG3LGi (ORCPT ); Sat, 30 Jul 2022 07:06:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E0AC1F2E0; Sat, 30 Jul 2022 04:06:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B197A60C1C; Sat, 30 Jul 2022 11:06:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5F0CC433C1; Sat, 30 Jul 2022 11:06:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659179195; bh=N6zLasfFsL1yWZblnms4sO+Zn0caoxKfwEgHEXyiOEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vWsZezaKlHxz87XuLnXJ7Di0oDFU49bpvj3GdK6bklE6uY2U9XBITT6t0IsRC9QXa cLqMWS9B7rSBP6B+/AqvCiDLksq/kF5lpzBOrW8VQdi76BmHZ1NZ0ktZBLVJMwu03x rjnYexPzS73xcMS5im5d9zP9bHlEKtmZaobytUg0= Date: Sat, 30 Jul 2022 13:06:32 +0200 From: Greg KH To: Kai Ye Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, wangzhou1@hisilicon.com, liulongfang@huawei.com Subject: Re: [PATCH v6 2/3] Documentation: add a isolation strategy sysfs node for uacce Message-ID: References: <20220730083246.55646-1-yekai13@huawei.com> <20220730083246.55646-3-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220730083246.55646-3-yekai13@huawei.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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-crypto@vger.kernel.org On Sat, Jul 30, 2022 at 04:32:45PM +0800, Kai Ye wrote: > Update documentation describing sysfs node that could help to > configure isolation strategy for users in the user space. And > describing sysfs node that could read the device isolated state. > > Signed-off-by: Kai Ye > --- > Documentation/ABI/testing/sysfs-driver-uacce | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-driver-uacce b/Documentation/ABI/testing/sysfs-driver-uacce > index 08f2591138af..1601f9dac29c 100644 > --- a/Documentation/ABI/testing/sysfs-driver-uacce > +++ b/Documentation/ABI/testing/sysfs-driver-uacce > @@ -19,6 +19,23 @@ Contact: linux-accelerators@lists.ozlabs.org > Description: Available instances left of the device > Return -ENODEV if uacce_ops get_available_instances is not provided > > +What: /sys/class/uacce//isolate_strategy > +Date: Jul 2022 > +KernelVersion: 5.20 > +Contact: linux-accelerators@lists.ozlabs.org > +Description: (RW) Configure the frequency size for the hardware error > + isolation strategy. This size is a configured integer value. > + The default is 0. The maximum value is 65535. This value is a > + threshold based on your driver handling strategy. what is a "driver handling strategy"? What exactly is this units in? Any documentation for how to use this? thanks, greg k-h