Received: by 2002:ac8:678b:0:b0:405:464a:c27a with SMTP id b11csp13597qtp; Tue, 1 Aug 2023 12:12:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlEsf/peqPX8bb1ugrIb1xPx8wV9I0Qu7Sr333Swz74vtfVYNO0/s32yoAQ4DOzg0uGBwzIB X-Received: by 2002:a17:907:e9e:b0:98d:4b97:acc8 with SMTP id ho30-20020a1709070e9e00b0098d4b97acc8mr4601847ejc.25.1690917124897; Tue, 01 Aug 2023 12:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690917124; cv=none; d=google.com; s=arc-20160816; b=tBZJNU7tXQ39uli8ysBodMJbD3FmgBBZPA23cGNrpjY7XT6KQJkCQj2Kwttdp58sRv 6Jg9/bmMGejtwI/kTycpL0u9Fk49Dok4rzxaikeMxSiufB99dO9RWFmzs/5luiFbMWdr xqwdD/FpUxZUJx/FFhER0Q6uzKNjwEaqBWMg6CmkcjC99fpDzKgjDCMXJdW1SKKoqO7r 6iDqZ/gcHfYDiKlawgn7IRJBN27Aa00SLSt3x/bOVu1L9ZdpBLHTbjcwLe1lqSXIf5Hh u3scK1nx+WnrP/cMsaqO82HeR3VQQhZn15JEGagTqwyU6uPwJ2pcjLREG8sSSx6y88U/ ffxQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=/rTAM931QTuDhwJ9WNXrzAtbsrYA4DGHLvGR6IS1Bw4=; fh=3239/AZF3YhbbIRrW06VRfA/h/CVdQUNvTZP/GRwesY=; b=0LWycu8IgYUFYfLoLP5z5Ygh7VuSjrW/nCXCOZva182R7mwL3ZzNrsAayZp5H3aW00 x0Wc6Tvx0V8gyzRUQC2Oqps46eVf6IQhl3s60ddGvnOBP0xIlbnUww45Fafch6YFMjzi ZbdmmJ50G0TSIXIXvzpSSR+C8KBSH8jUwiSaCZlakkvCMrJMHZJ1j2xr9Pgf4SQBbmeh 2gpJE0bMK+D/zBzaeC32A6n7d6wcsHEJB8aoDtp80n0rGOdAkm4FkllPe0310M/LPb7u 4cuAGGCB1iRgAbnXB65BqdI032IwJxCmzLnf6Lg8smMWBzJv16/zJ7eA23neSK/Okgib 6BkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QQOAFDd7; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z24-20020aa7d418000000b005227823a722si8277293edq.128.2023.08.01.12.11.40; Tue, 01 Aug 2023 12:12:04 -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=@kernel.org header.s=k20201202 header.b=QQOAFDd7; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231354AbjHASox (ORCPT + 99 others); Tue, 1 Aug 2023 14:44:53 -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 X-Spam-Status: No, score=-7.1 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,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 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