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 3F271C433EF for ; Wed, 20 Apr 2022 11:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378226AbiDTLuj (ORCPT ); Wed, 20 Apr 2022 07:50:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235688AbiDTLui (ORCPT ); Wed, 20 Apr 2022 07:50:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D80E541FB1 for ; Wed, 20 Apr 2022 04:47:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id 890D7B81D0B for ; Wed, 20 Apr 2022 11:47:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAE75C385A4; Wed, 20 Apr 2022 11:47:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650455270; bh=Eno66hbZZ/2CF2UG0fatqoS3dJhcxzvB5LC79MAEJEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r/zA/i+cTmAqoF6RztsAL+fnLkmW7M0MtBhV5L6v57KfEw7l6qHRNMmC1pRgwJcIN R71V/vnem/CjqEdFwnUqrKIXIqx4tgmMl5VcLyDI16FdV+xKPo7YcJlIiU4ZfQ+8Ab HkM6VfKOC1eDVXDqOf20ZaFy00wtWdyl3Te1F4iPuvi4/SyMSd6S4hQQhc7/DEB8rS t1nfajSYs5IZX4bDcwkjxOGUO1O/CHv75tjKS7Ll4ZS/9zZMx8jp0e+7rSUtisMcO4 3Ywd2PAD1OZRzYPvQ9Yz23MPaBR5pelSadVu2rYfkBzEzYyMdPCPFrRsKx9eEShFup PRCQrUW+85+sg== Date: Wed, 20 Apr 2022 17:17:46 +0530 From: Vinod Koul To: Dave Jiang Cc: dmaengine@vger.kernel.org Subject: Re: [PATCH] dmaengine: idxd: skip clearing device context when device is read-only Message-ID: References: <164971479479.2200566.13980022473526292759.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <164971479479.2200566.13980022473526292759.stgit@djiang5-desk3.ch.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 11-04-22, 15:06, Dave Jiang wrote: > If the device shows up as read-only configuration, skip the clearing of the > state as the context must be preserved for device re-enable after being > disabled. Applied, thanks -- ~Vinod