From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbdJHC1w convert rfc822-to-8bit (ORCPT ); Sat, 7 Oct 2017 22:27:52 -0400 Received: from hermes.aosc.io ([199.195.250.187]:40928 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbdJHC1v (ORCPT ); Sat, 7 Oct 2017 22:27:51 -0400 Date: Sun, 08 Oct 2017 10:27:45 +0800 In-Reply-To: <20171007223738.25013-14-alexander.levin@verizon.com> References: <20171007223738.25013-1-alexander.levin@verizon.com> <20171007223738.25013-14-alexander.levin@verizon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH review for 4.4 14/24] dmaengine: sun6i: allow build on ARM64 platforms (sun50i) To: "Levin, Alexander (Sasha Levin)" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Icenowy Zheng , Vinod Koul From: Icenowy Zheng Message-ID: <28557CD3-673A-4CFF-9554-A21115D381F8@aosc.io> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2017年10月8日 GMT+08:00 上午6:37:46, "Levin, Alexander (Sasha Levin)" 写到: >From: Icenowy Zheng > >[ Upstream commit c429ceb1e18252122ba96b52e689dcf87103c186 ] > >As 64-bit Allwinner H5 SoC has the same DMA engine with H3, the DMA >driver should be allowed to be built for ARM64, in order to make it >work on H5. There's no H5 support in 4.4/4.9. This patch can be ignored. > >Signed-off-by: Icenowy Zheng >Acked-by: Maxime Ripard >Acked-by: Chen-Yu Tsai >Signed-off-by: Vinod Koul >Signed-off-by: Sasha Levin >--- > drivers/dma/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig >index e6cd1a32025a..27b7b3a9bdd2 100644 >--- a/drivers/dma/Kconfig >+++ b/drivers/dma/Kconfig >@@ -158,7 +158,7 @@ config DMA_SUN4I > > config DMA_SUN6I > tristate "Allwinner A31 SoCs DMA support" >- depends on MACH_SUN6I || MACH_SUN8I || COMPILE_TEST >+ depends on MACH_SUN6I || MACH_SUN8I || (ARM64 && ARCH_SUNXI) || >COMPILE_TEST > depends on RESET_CONTROLLER > select DMA_ENGINE > select DMA_VIRTUAL_CHANNELS