From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05315C00528 for ; Tue, 1 Aug 2023 18:44:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231704AbjHASoy (ORCPT ); Tue, 1 Aug 2023 14:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbjHASot (ORCPT ); Tue, 1 Aug 2023 14:44:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 207B7DB; Tue, 1 Aug 2023 11:44:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8DE1A6166E; Tue, 1 Aug 2023 18:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57E7AC433C8; Tue, 1 Aug 2023 18:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690915487; bh=DRxWFTygMykPzS+u0aRxWGMcCjJeKtuRuzBbySHBU5I=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=QQOAFDd7DTGBA74KyCm7Lv0X+7bIoULBGm2o6Unzv4ZG7NhIoOv5hXtyRHcAYWT1Q 494/05s3o08LGsMoIqomSXRmZ3VI9T1sUmmPO3R5dDBwkFAPy1GMghNa1whpQLrxfR QnD6V39fnaOI3ds9b02HbnE2GDZU9pVqlyN7Qu74lTRpL4Vv5xYjgAtQlejE66otVv 6tMK43DvX6G3jq+gzv/xWG3QP3H1mle6qit/aqxQdst497hAmKhy98XSmkQHQqpgd2 Z7DUmfYIuQHVWLw9fwlosT/GUmBCuqDeXnsIZFy6/HBs3Ws8V9+UrZdca8H/IOZT9k Lo/H6nmlhODsw== From: Vinod Koul To: Dave Jiang , Fenghua Yu Cc: dmaengine@vger.kernel.org, linux-kernel , Tony Zhu In-Reply-To: <20230712193505.3440752-1-fenghua.yu@intel.com> References: <20230712193505.3440752-1-fenghua.yu@intel.com> Subject: Re: [PATCH v3] dmaengine: idxd: Clear PRS disable flag when disabling IDXD device Message-Id: <169091548499.69326.2652739076387643227.b4-ty@kernel.org> Date: Wed, 02 Aug 2023 00:14:44 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Jul 2023 12:35:05 -0700, Fenghua Yu wrote: > Disabling IDXD device doesn't reset Page Request Service (PRS) > disable flag to its initial value 0. This may cause user confusion > because once PRS is disabled user will see PRS still remains the > previous setting (i.e. disabled) via sysfs interface even after the > device is disabled. > > To eliminate user confusion, reset PRS disable flag to ensure that > the PRS flag bit reflects correct state after the device is disabled. > > [...] Applied, thanks! [1/1] dmaengine: idxd: Clear PRS disable flag when disabling IDXD device commit: 830883a4bc012a118f3b74889292efa21799bc94 Best regards, -- ~Vinod