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 29B12C04A94 for ; Tue, 8 Aug 2023 20:13:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234739AbjHHUNG (ORCPT ); Tue, 8 Aug 2023 16:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234636AbjHHUMs (ORCPT ); Tue, 8 Aug 2023 16:12:48 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346C235C65 for ; Tue, 8 Aug 2023 11:43:30 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2685102cd16so3256090a91.1 for ; Tue, 08 Aug 2023 11:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1691520209; x=1692125009; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=e5Kq1LJc+7Xua2Kq4jL8Y3azeq9CaYf9ma2OpUQOoes=; b=be1D7x5HcJqbJr27O9QIV9joDE3vudd1QIP8F4Qgp4v2bIvgL98wvF67K8ptum1zM2 rVcVlh0E9HVHGLUq0+J8M8cOP1JhiobRwtXpij1/CVCLwuDLT7bzIzY2/aOD4ne8lf9k 7pCgsClRPSqKYWjp5s9RKFzKoygpeelVphLGe1NAcNrjZL98IrObDkQ9HoPqTSAqn/Nx R+a48BRECFN1JYwlMmbLUgBF7Ux/Z4kpdO3jWANdx5bINZyb6UQkvIzVR8lyDgalWF+Q rBZ6jyci9piCzF3KNNqc7ARsHaNSlDYNmR1odClyIV95XJDZ/zmL6NWmvkQMrzYdgbiK wOQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691520209; x=1692125009; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=e5Kq1LJc+7Xua2Kq4jL8Y3azeq9CaYf9ma2OpUQOoes=; b=Yn2zh78fc2UcqnDWpO5Ka1zZUFYZlQcdTX3BHMOk68pKYAwuCM//Aq9FhpqoL631+q Q05Zf/jouXK90jlsyHhmUzEgp8xK/GjA6vAIBli7iQyJLMwUgHY0uFtqg/Wl5J2x2oBd qOHHJm+VzERR6BChefL/S/wvfUFre4KGdY+B8UILiyhT/aWQdRQSmTJKpqcS5LFQf4EI KobqETsPImWgIBkqFfKJXQ3eoFu/khawAJrpl7zZjBFH2QJSOJHpsfYNFgmbjicNAn9i Ar12A9+9oxgxZRQQ7n9oeUm+L2nsHFiLnjQCFF+iRO8huoX0MMT9aUqaAYfr56mVR4Tb jNeQ== X-Gm-Message-State: AOJu0YyUg6S8RAvZJ0nP+jkCmjBXXFc4+GetZqwSkg+JSlAeXgs2zOTV 8h1JkminctaMwSUqG/83XDlGhQ== X-Google-Smtp-Source: AGHT+IHMidDa+dRb7HS7nG66MhLisCldZm3VtChaKhwOxTTpgz5v3DNltRI6Cf7yDaiggZ/Zf9vhpw== X-Received: by 2002:a17:90a:7e12:b0:25e:d303:b710 with SMTP id i18-20020a17090a7e1200b0025ed303b710mr329838pjl.35.1691520209601; Tue, 08 Aug 2023 11:43:29 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id n7-20020a17090a394700b0025c1cfdb93esm8968536pjf.13.2023.08.08.11.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 11:43:29 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1qTRfz-004vcj-KZ; Tue, 08 Aug 2023 15:43:27 -0300 Date: Tue, 8 Aug 2023 15:43:27 -0300 From: Jason Gunthorpe To: "Tian, Kevin" Cc: Lu Baolu , Joerg Roedel , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Nicolin Chen , "Liu, Yi L" , Jacob Pan , "iommu@lists.linux.dev" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 08/12] iommu: Prepare for separating SVA and IOPF Message-ID: References: <20230727054837.147050-1-baolu.lu@linux.intel.com> <20230727054837.147050-9-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 03, 2023 at 08:16:47AM +0000, Tian, Kevin wrote: > Is there plan to introduce further error in the future? otherwise this should > be void. > > btw the work queue is only for sva. If there is no other caller this can be > just kept in iommu-sva.c. No need to create a helper. I think more than just SVA will need a work queue context to process their faults. Jason