Message ID | 20201112125519.3987595-6-jean-philippe@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp313472ils; Thu, 12 Nov 2020 05:03:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLwOC0McWwU3abPCrOuWP/rlbf2fq2fJwC8H4+pNLG0SB0VtA38ZzbYh/++BxPoJovqWZZ X-Received: by 2002:a17:906:260a:: with SMTP id h10mr29374566ejc.159.1605186216574; Thu, 12 Nov 2020 05:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605186216; cv=none; d=google.com; s=arc-20160816; b=YGE41FPf81SC8shWcQf19oZzG7geTP17ah85Q31ab0nIH9z9Un3pm4XCUeOR26OtgP uR4c81h77UwidbYn/Ed36PPqMsmdYNeEE9TD+IhYeXP0lEt0BT9SgoMzJV/3cUWMyiJX qR52+SKfpTPHCpN30ZGu29OBRcw/GBBLDKjcjhYIkjnqSBtmRjemjTCW4yyRcnR9RgsM YMc+7PUtJVmDKcHoENkc4QFAMCUIAI+Y3ZTBUO7+QxAM8WO5g/hBqVVjyAsRjB8jWzaq eiGbelRDHVflj5F8jwVLRO25dcOqbCkNnax4TRhO9Wienk6u+6xciF05UYG6KmZv9K67 s6Xw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4JGD+U5wzrPrHuAbcShPgq/7SS7eVhaJGMY13GukQwc=; b=kMWzzzf8l1k6GM0NJjODJDUDs4ktULzfloSTbVjYwvVsKCoBOuhQU70zT0k1zU1ZOW g9CnFkzA6trCXBJG6ZLifw/K+PI4PfZDw6ygdbyB98UMGk4V259zIO2Mvpo2Qyc2BS8w az9v4R5u6Z8Ryh7fzH67HPImP1/A5Q/EW2wIsPFD9ufb4UVOx/rGS+YZUY4ctwHzYULB rgvLfqH1ddw2lV0jdgHoABNQz9b31wNtfB58PiMcXnOTAJflCv7RLwojik86coCLhXqd ufl1bKA6MQ/aj7MYttKSLlRoNzxMakUCqvLm96QoJ64wT6iGgO3QRw1brr70zGM2w6IO onWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L+UnK8b6; spf=pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-acpi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si3713663edr.287.2020.11.12.05.03.36; Thu, 12 Nov 2020 05:03:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L+UnK8b6; spf=pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728291AbgKLND1 (ORCPT <rfc822;patch@linaro.org> + 7 others); Thu, 12 Nov 2020 08:03:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728242AbgKLNDX (ORCPT <rfc822; linux-acpi@vger.kernel.org>); Thu, 12 Nov 2020 08:03:23 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 039C1C0613D6 for <linux-acpi@vger.kernel.org>; Thu, 12 Nov 2020 05:03:23 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id p8so5922060wrx.5 for <linux-acpi@vger.kernel.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=rbTx2iDdaRQLSoIL5TkLHSgyPDXbXTOMEHPFblNyaQnPKIYeB4XUCfeBMf/iTe+jzd XDwmnuAqPuYybuYSqupequWHMK799+OgsNCqmVly145sFVnJBFBRsKpxkc4iAnbl5alK N5Mb7SxBVJWvDSe3IZjjN2og7i5kxRcuLdE9drxeZydr7V/ZRW5Sg58ROwaLow2SYjRb hj4hpTdiXwHour9ds6XJh4tz6iD9n7gW8SFWRuL0jkhPOCM7Nk2kVv20oz8XmFQbpYsr +RJl+DnExN/qfTLVMa1rvKRaebDDYin3vsqyS3synOpm26GnpJMwhtyvCc8Y2E3j3EaO 73IA== X-Gm-Message-State: AOAM532iKm5F9eg2uYFPxUcVq7sEx/7/lRwInqB9G9dwybzmm4UslHfx rNKPfde4t7NI5apGQRYjopKyrg== 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 Cc: guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, robin.murphy@arm.com, bhelgaas@google.com, Jonathan.Cameron@huawei.com, eric.auger@redhat.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, baolu.lu@linux.intel.com, zhangfei.gao@linaro.org, shameerali.kolothum.thodi@huawei.com, vivek.gautam@arm.com, Jean-Philippe Brucker <jean-philippe@linaro.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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-acpi.vger.kernel.org> X-Mailing-List: linux-acpi@vger.kernel.org |
Series |
[v8,1/9] iommu: Add a page fault handler
|
expand
|
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(+) -- 2.29.1