Message ID | 20201112125519.3987595-6-jean-philippe@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=sTYh=ES=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C12CFC2D0A3 for <linux-arm-kernel@archiver.kernel.org>; Thu, 12 Nov 2020 13:04:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 429A721D7F for <linux-arm-kernel@archiver.kernel.org>; Thu, 12 Nov 2020 13:04:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yjR2WDEQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L+UnK8b6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 429A721D7F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=B0AE13bwgKJH9q/j4tlNNib8rKiD1LumSh6Zh/mkP1A=; b=yjR2WDEQVbW9PDEhGiILF04WB CyIwItEdLGfDM0uWBJWfHeMYLTRXyFWvfFSa4IfBX4wcG53trnLp1PIqYI2bLSEf/w1TSWA9UwC1b bFe+cL/Zgz0jNXMGEN1eK2G9mqkaRgWf3PPQNcdCjAKECpdP0EO39+Q07JYtnQ6Yz4RAHHRflCbI2 /FYhpXg6jwZfxW+7Jhtw9s+R++Qn3tfOO7jlRPOZHQ/gcPSwRMxF/gXCkbo3pntYdchY62GwO3Hhj hfii3kq9DhgqBXTA8V/IanMTxpGQy6hX4LuHeivOB9d1d5+1ChqjRLciMMIFfsXRr48BzbrfYqLTQ 5/Y7cEStA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdCGf-0006ne-Bd; Thu, 12 Nov 2020 13:04:01 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdCG2-0006Z0-IG for linux-arm-kernel@lists.infradead.org; Thu, 12 Nov 2020 13:03:23 +0000 Received: by mail-wr1-x443.google.com with SMTP id 23so5898580wrc.8 for <linux-arm-kernel@lists.infradead.org>; Thu, 12 Nov 2020 05:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4JGD+U5wzrPrHuAbcShPgq/7SS7eVhaJGMY13GukQwc=; b=L+UnK8b6jHlxkKjKLGZ2KBHb9UiCE2bYESXAd9FIJCk+MSUtGNGNYYhyKKC6RRifPQ PgL5pNXsAPyMWO+HtY1Gz8tYhOV7PCazvQjyezuUbsHfk2M9AaPxMotgauVMZKLo3hiQ M9zO8+yMql5b+8b9cbMFbwaUXk+eUu0753EmMvk7l1HFsWM70OEcQW79vBJFUlgt+5VM KTrz/bb1p5Gfk+J3GZ0/zY9ErMbza+/lZXbPnTQ6Y0oHv+Z0tDMeL6+cldPYswOsQVrL O6uN/kZ4gFKC9yygejnVCUVwrluiILl9XVtVOe0uMkP8IGro9CIcUykOaW84nVGNiLuD 7kaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4JGD+U5wzrPrHuAbcShPgq/7SS7eVhaJGMY13GukQwc=; b=RMfhaROaZvNQLERePvCp5rvxs/+1dkLsjfYVNIPMYpUXPSUL1U/h4Ivdu0Rfz7phaI JnILXv10eEtzCk6nf4OJQ8YqUaLQCuh4oYPaqsOLqkh94pzsIlOEgXZNTLUAOZnmKxmC WDxug3X7b4axdmSZy/cv4mXXdHTvDJihcs4REAs96zLqvF+W3ka/XLC07lLXM9Ga3Dj7 d+YraWUGIuizbXTwWHRLvULpQkRWBvqVQdObAc1hwA2gEwu7ggDYRMQNyo801AaMpU11 swHFTETN8rf0+vxvNGaUu3MpHBJ55B4cxXnKMsXwhrQsHB/eYosboHV/PKUK4Zb1b7iv VbbQ== X-Gm-Message-State: AOAM533+ZRRCPiXjJP/J2qHi61QEIIt6AwKri+Dvgnc9zNzn+rzBwjas SomOMO73HIvuAcuIqu+VXXyemQ== X-Google-Smtp-Source: ABdhPJxo3CkbVLQBJt0LU+udw0kuJH0eA8lhV+b7zpBZqVmuSk9IILiYnXCbLaDmkxe9gZqnDT5qGA== X-Received: by 2002:adf:9d84:: with SMTP id p4mr24594639wre.370.1605186201700; Thu, 12 Nov 2020 05:03:21 -0800 (PST) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id m22sm6877508wrb.97.2020.11.12.05.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 05:03:20 -0800 (PST) From: Jean-Philippe Brucker <jean-philippe@linaro.org> To: joro@8bytes.org, will@kernel.org, lorenzo.pieralisi@arm.com, robh+dt@kernel.org Subject: [PATCH v8 5/9] ACPI/IORT: Enable stall support for platform devices Date: Thu, 12 Nov 2020 13:55:17 +0100 Message-Id: <20201112125519.3987595-6-jean-philippe@linaro.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201112125519.3987595-1-jean-philippe@linaro.org> References: <20201112125519.3987595-1-jean-philippe@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201112_080322_672068_5A1B8865 X-CRM114-Status: GOOD ( 12.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, guohanjun@huawei.com, rjw@rjwysocki.net, shameerali.kolothum.thodi@huawei.com, eric.auger@redhat.com, iommu@lists.linux-foundation.org, Jonathan.Cameron@huawei.com, sudeep.holla@arm.com, bhelgaas@google.com, zhangfei.gao@linaro.org, vivek.gautam@arm.com, baolu.lu@linux.intel.com, robin.murphy@arm.com, Jean-Philippe Brucker <jean-philippe@linaro.org>, linux-arm-kernel@lists.infradead.org, lenb@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
iommu: I/O page faults for SMMUv3
|
expand
|
On 2020/11/12 20:55, Jean-Philippe Brucker wrote: > Copy the "Stall supported" bit, that tells whether a platform device > supports stall, into the fwspec struct. > > Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Acked-by: Hanjun Guo <guohanjun@huawei.com>
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index 70df1ecba7fe..3e39b2212388 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -968,6 +968,7 @@ static void iort_named_component_init(struct device *dev, nc = (struct acpi_iort_named_component *)node->node_data; fwspec->num_pasid_bits = FIELD_GET(ACPI_IORT_NC_PASID_BITS, nc->node_flags); + fwspec->can_stall = (nc->node_flags & ACPI_IORT_NC_STALL_SUPPORTED); } static int iort_nc_iommu_map(struct device *dev, struct acpi_iort_node *node)
Copy the "Stall supported" bit, that tells whether a platform device supports stall, into the fwspec struct. Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> --- drivers/acpi/arm64/iort.c | 1 + 1 file changed, 1 insertion(+)