Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1842710iog; Sat, 25 Jun 2022 22:54:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s5IF6Z5lkqnMsgEazlVt3S8Gk0mZCn7P4ya9ZTn7YZ73ncfLOlHGlcBBWBXvgI4COlpE1c X-Received: by 2002:a05:6402:40d4:b0:435:d900:6d4b with SMTP id z20-20020a05640240d400b00435d9006d4bmr9090107edb.154.1656222853975; Sat, 25 Jun 2022 22:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656222853; cv=none; d=google.com; s=arc-20160816; b=LSxY/XGl9PBGUIqHenetnp0XVakkZCodQUGzC2PkycuXKbFb32RBa81Wc1vo9XzipK cIY1fXY9M1N0VuXjogTbjhnM6/KPqpeAW13lvNMtZeu/redGP/O0a6D4+L7zucTbKpeK Aa6A3Xru1TQ1GxIcRkWYduMgJxD92LYbr2AZ2a+wVawgRdTS4IMOe+huJrmY4r5qgedz tqqHk7ymhEmSIy6LyN7FhOIQn+T3vI4GvR/IlCJ/Fcx04VpE2V19RQxGrCulXP6OYKVa 1RW05TBaFFzCpXWVQsZ58b21m/2czVbovfNec7McB/z1XSpxmwm2JsX7aa8KghdWMSL7 XMyg== 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=kblb61Kx0cy7fIE3JvdSA0q4mukZjRDnLg/zeZBGwCI=; b=YahqBe2+MK5i99F/4m/KiOkJmuS0o+Z5YwE138anmoqAvbZnI/hEf47l2v93vuPGFf ABRgoO1fjUXMGHUnMzLJZhFf16/u/bdeAnS6663DCP5mKzbCoAhA1zs9ngP1g6+b/Qb5 92MjE8Y/znRirOkK4gPrM6OMajhq4KIi+jbClU0v6sKoFxgwHKLqsxxIu8rgfD/0pTHJ rP1oVDWxYaOfmlvYNhZRh+bzIr7b1aQdGzUu+uaNXsDSZLkX8YZtE16EVNf1gKj2KzwI NrBdhr6OJHfG1urdDwDBNCJnCr8PlY1VYXHALz3HPSI9CRdudSV9+2WX48IhbdRkwtoj RoIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fKNwhDU2; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l22-20020a170906795600b00712236ab6aasi8508228ejo.95.2022.06.25.22.53.49; Sat, 25 Jun 2022 22:54:13 -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=@intel.com header.s=Intel header.b=fKNwhDU2; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233839AbiFZFgS (ORCPT + 99 others); Sun, 26 Jun 2022 01:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiFZFgQ (ORCPT ); Sun, 26 Jun 2022 01:36:16 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E00913DEA; Sat, 25 Jun 2022 22:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656221775; x=1687757775; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kblb61Kx0cy7fIE3JvdSA0q4mukZjRDnLg/zeZBGwCI=; b=fKNwhDU2WDkBlD4mMsyXzVq3+C1Ohem8sStnVwLNGcLUHjQ4/wBQBEY4 jBKYn2Uwwr0k+xPOKTijTeYazLJXulYF2blN5vo/KBIXPsps6bG4lxEWP flVwKgjPToNe6eXzZ9KgMg4xtTYrBMpAxKaGBBuQYiCJYFwIBfQGy2q90 tR9owOJmP6zG2TeTEsLxw1CQh4Lbmv5xylqOqW6qklqkz7T8J+krIduAG aLDwUUYPLXNbHDyU79hlWRcSXyiLSl7CbQFoXV/f3OzzdPHq/NoTxLFgB HqQxtzf55QDyTB+tOKKXOkNlE8hmMALiTTZquw/YdzO8bOHZRWs4l4v9H Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10389"; a="261665108" X-IronPort-AV: E=Sophos;i="5.92,223,1650956400"; d="scan'208";a="261665108" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 22:36:14 -0700 X-IronPort-AV: E=Sophos;i="5.92,223,1650956400"; d="scan'208";a="645892285" Received: from fyu1.sc.intel.com ([172.25.103.126]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 22:36:14 -0700 Date: Sat, 25 Jun 2022 22:36:40 -0700 From: Fenghua Yu To: Jerry Snitselaar Cc: dmaengine@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, Dave Jiang Subject: Re: [PATCH v3] dmaengine: idxd: Only call idxd_enable_system_pasid() if succeeded in enabling SVA feature Message-ID: References: <20220625221333.214589-1-jsnitsel@redhat.com> <20220626051648.14249-1-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220626051648.14249-1-jsnitsel@redhat.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 Sat, Jun 25, 2022 at 10:16:48PM -0700, Jerry Snitselaar wrote: > On a Sapphire Rapids system if boot without intel_iommu=on, the IDXD > driver will crash during probe in iommu_sva_bind_device(). > Signed-off-by: Jerry Snitselaar Acked-by: Fenghua Yu Thanks. -Fenghua