From patchwork Wed Oct 11 15:19:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dechesne X-Patchwork-Id: 9999915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 441FB602BF for ; Wed, 11 Oct 2017 15:20:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC4828A81 for ; Wed, 11 Oct 2017 15:20:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2180128A84; Wed, 11 Oct 2017 15:20:25 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B35628A81 for ; Wed, 11 Oct 2017 15:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=j74wCqIxSnWchuLhE0rW2rE4Qlhu285zmx4+0olkDv8=; b=i1O WuLMnuaR63JJOoaiyTr7KEomNilhDEoyoSd4x0ODw/U2SWiCjqOYQyyYgKKpFsBZNe04AR8mPVcSC 51lpDEUF7jII4gWFTEwD3K+R8mMm5ZEYhP21oi6jtlX6H1jaT0q9Od4c+7sk78Wrue6vxxU3IclQz rA891Qnq1cVv/Z4ADjbHJZxbfwzonYkItJK5fNXM3pU8Ug862lal1D3UehZKBpYXoNG/O9be5IHuY K7fvawNGkLKQx0APFzeteu4ZKJUI96dex1a2/UIgei2wPvxXVxGM7smNs/KlXsdLTCuKxOH4BBTd3 BgLK/zJlZVgr5zazSUs08ZD65S0hYNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e2Ink-0000u6-7U; Wed, 11 Oct 2017 15:20:04 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e2Ing-0000cr-1N for linux-arm-kernel@lists.infradead.org; Wed, 11 Oct 2017 15:20:02 +0000 Received: by mail-wm0-x236.google.com with SMTP id u138so5721036wmu.5 for ; Wed, 11 Oct 2017 08:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yVeb1QOo3cqySroNl65r6uP+6Ryw8VhJlPHqWdDhedo=; b=a6ftrXTqvcpOU1/0iwCVkDKQl42dyi0xMxI0FN70ivkDOCt2Y/R7XhFfctouUyJkxM lruHGacaIYk41SWjxs6dLIlm/GImB2V/KCwST6jbX6TRvNfxZpfIifUbDYMhhRk3X8IW LNhKtMFQrh9QhnCWGuMxKm4aBInLgGqMMsbHA= 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=yVeb1QOo3cqySroNl65r6uP+6Ryw8VhJlPHqWdDhedo=; b=Ollf3/5pd/7Tp7LVL9TiNQ7ztSw0VN+KloNclHpGtHUASngy0nPqWy3+jm6/7WqD3T EedkthcRLAI4D8gnlkp43s/VaB0w5Ma11g4g60xQnzcegXNiFPo+yiKPCUmtBmNeCvVr 9U8FhQnnQ8A6HLaQDROiW2Bkr+lNN2AdxlhwFfj95GubPfDvD7MZOqkWUmRVu4SCEw1r lU/5M0mMl9QwH0xuMyTdrdUhtzloH+jPcTGH6/94m9VZFaOdCeDvw5k6LvcmKHeXmTNi wttXeoJnp5nIYm/cTXTkmqocd4H5Vev3LsRp+b5Ut3Ev5RpZAx3x9cHTtDCUKnWcg9xS 5Yyg== X-Gm-Message-State: AMCzsaVpuyyzXnQBR3Gbn/xY5P674a3QPphid0qyTeAXgj87SMhdRQV0 rqRVHQNfv8mAIwLzbgbiiAQdNg== X-Google-Smtp-Source: AOwi7QD0wXex6Qr3k2PR22FunkKEr/CFJJTi5E9fEAB45PvtEdZZyT4vlOXv3JWC86ap3oKkoslIBw== X-Received: by 10.223.148.162 with SMTP id 31mr10766323wrr.149.1507735175889; Wed, 11 Oct 2017 08:19:35 -0700 (PDT) Received: from localhost.localdomain (LStLambert-656-1-43-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id p13sm12240323wrg.28.2017.10.11.08.19.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 08:19:34 -0700 (PDT) From: Nicolas Dechesne To: andy.gross@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de Subject: [PATCH] arm64: defconfig: Enable QCOM_IOMMU Date: Wed, 11 Oct 2017 17:19:25 +0200 Message-Id: <20171011151925.30909-1-nicolas.dechesne@linaro.org> X-Mailer: git-send-email 2.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171011_082000_269041_6B8ED93C X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Dechesne , linux-arm-msm@vger.kernel.org, robdclark@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable QCOM IOMMU driver for 'B' family devices, such as APQ8016 found on the Dragonboard 410c. With this change, graphics console and GPU are working fine (using mesa/freedreno for GPU driver). Signed-off-by: Nicolas Dechesne Acked-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 34480e9af2e7..653f7149179a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -510,6 +510,7 @@ CONFIG_HI6220_MBOX=y CONFIG_ROCKCHIP_IOMMU=y CONFIG_ARM_SMMU=y CONFIG_ARM_SMMU_V3=y +CONFIG_QCOM_IOMMU=y CONFIG_RPMSG_QCOM_SMD=y CONFIG_RASPBERRYPI_POWER=y CONFIG_QCOM_SMEM=y