From patchwork Thu Jan 17 04:29:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10767515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B742C13A4 for ; Thu, 17 Jan 2019 04:30:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7B552EEEB for ; Thu, 17 Jan 2019 04:30:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A56C32F038; Thu, 17 Jan 2019 04:30:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 458402F016 for ; Thu, 17 Jan 2019 04:30:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728789AbfAQEaX (ORCPT ); Wed, 16 Jan 2019 23:30:23 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43261 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728795AbfAQEaX (ORCPT ); Wed, 16 Jan 2019 23:30:23 -0500 Received: by mail-pl1-f194.google.com with SMTP id gn14so4094223plb.10 for ; Wed, 16 Jan 2019 20:30:23 -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; bh=SSaMUaBQ0F2OC2XsU1BccePKuZ2cfIUNF45/G9oxnZQ=; b=EC0/QIG9o4Vv71S5C2Z3RS5Z0l3lzTq8FFQpvmkmnt5EvzDriFKXOq7pHq27EmkroG I59z+vabjYH6VklsGrUhiVLP650zbf4UoQoeX46qKERA1b2v//n3OODDnYlByr21Pea8 mgi8EVC57zcSnta/nzD66q5khfAn1pEVMOXoU= 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; bh=SSaMUaBQ0F2OC2XsU1BccePKuZ2cfIUNF45/G9oxnZQ=; b=rQcIJxpOE8DNdgvmet5Uzwb+v2Tp7wttMx7Ezn05dQUpghsOEDLJUYdeToIu9t1/7B c3+mXd6fsfYMyrEO26EaMfomljnLHRbpbQ3GdHjIKy9vBNlYfyUUGdAjDeg1/to35jP/ lQy877UHjSL/p0iP2OQbAlx4z+yuC2oZEAU24ahZ0MJWHe6SUAEruD35EsVaSsLqZkyn w68CEXIWVntvrItsu9uAKwuo+CrG9LvgsYiZ5GJQ2PMDNznII10Ua3dPXahiE+gyia5d 0YMfvDFy6J5y2L6QdlaGkuMg8iNH4sYgw9WnLVmA182aMa4UC/wkLgi424Yo4nbIOn8o tnCA== X-Gm-Message-State: AJcUukcmRFfU9G33J63LGdZLwATKtkwsxHe++Q+AmgwC6bHFmlFQfTtB yATMnNh2OQnTwsVO08uCW1Biew== X-Google-Smtp-Source: ALg8bN4ACvJahH/XTMwNKPCEQuAT3vRdZCg+S62H5QIVvzwrfvYHofudpA/l9W99VNKO/+qggO9pjA== X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr13581186plo.210.1547699421933; Wed, 16 Jan 2019 20:30:21 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d6sm361574pgc.89.2019.01.16.20.30.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 20:30:21 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Stephen Boyd , Doug Anderson Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] arm64: dts: qcom: sdm845: Fix DMA allocations for devices with IOMMU Date: Wed, 16 Jan 2019 20:29:38 -0800 Message-Id: <20190117042940.25487-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These patches extends the size cells of the soc bus and define the dma-ranges, so that DMA allocations for devices with IOMMU attached will get valid IOVAs. Changes since v3: - Split patch in two - Rewrote commit message from scratch Bjorn Andersson (2): arm64: dts: qcom: sdm845: Increase address and size cells for soc arm64: dts: qcom: sdm845: Extend ranges and describe DMA space arch/arm64/boot/dts/qcom/sdm845.dtsi | 301 ++++++++++++++------------- 1 file changed, 151 insertions(+), 150 deletions(-) Tested-by: Srinivas Kandagatla