Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp358388imm; Thu, 21 Jun 2018 20:27:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJP/CUe+2W7avwgDwGahoRvPs3VxPkGzHrYREEpSkftGP/hnW9n1VUBqx6v7ILax/d7xjvX X-Received: by 2002:a62:8202:: with SMTP id w2-v6mr30148224pfd.32.1529638069791; Thu, 21 Jun 2018 20:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529638069; cv=none; d=google.com; s=arc-20160816; b=o6aXfGAXlP9Oc61jvAbjWDkcZvk8pKOeaG5WzbakgK1mQ//VnXmiYODnSqPLvtfjKM eGKMQtpzEtgtnxnoif+95AnQQ+/Wy9HuI0Mc9qoHWJrrxEi71Ytpto4F2RaerZmtb3yK 6QzarSatqdaW6nY0MMmOXOveuE2fL8nY90Cmx50ofrvW6VnuOoSEHYP0VfO86nEgfzoi 9gUQqRUCtt/ItqtPXgpMHFHGmVkZcX6/Zj5Mjs3x8Ncgn6jg6YK72qBies1Edc89Q7tE Gyx9GE0oSz9yff8mwLDAlKB0dRzO8ZZxef1mN8z8K1acWeLuhI7GI5Zk2vlh/5UDwa7a HK5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=IjKMaOgE9zO1u/HVhRELMHSOg+lOul8SQchpt8VVzQc=; b=Y6rUUuJj9mOEkTNGuUHY3NVmojmtpAdj7ctD+nK0fMW/jBma5jU5bllobIh4g20oGt MjcSVXDPHJlqw5qVUMceL4xNrb6nQZ5I5iO+3Fy6U48xcu7CICNR1zrYCnFLf0MYg5KK TLsvcBYUl/2fsWrol7nDuMPglYk/05ymYdog6vOdxAYfMcteOlCb8QbFtUiNTkkzkHpW bgRt6QfQK6EBbNAPrLnoiNt91wQtlx3VjpUQ8tZ8bXOyTw0iK8ji0mXscsFhC6eCgW6Y QbacBQonPcKIauLikc0PsjQs1EFLx18VuYYpV9dzG9KZeBmGkjqxM82ryeu1eBDtM19s WONQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QrBhnTLb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u29-v6si6478016pfi.96.2018.06.21.20.27.34; Thu, 21 Jun 2018 20:27:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QrBhnTLb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S934309AbeFVDYc (ORCPT + 99 others); Thu, 21 Jun 2018 23:24:32 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:38545 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934222AbeFVDYb (ORCPT ); Thu, 21 Jun 2018 23:24:31 -0400 Received: by mail-pl0-f65.google.com with SMTP id d10-v6so2746857plo.5 for ; Thu, 21 Jun 2018 20:24:31 -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=IjKMaOgE9zO1u/HVhRELMHSOg+lOul8SQchpt8VVzQc=; b=QrBhnTLb7S7AqMwIB2K+SBPS36RHLjjPuQimYntmqVPLmhtok0lHpBc1gVghGpja8B sG8urSt5BhuYE59MpUaLR2RYo6M+UBZvJODuQFBu5hTxdKTHwYfQRH1CZop101YTUtcm OaRxsftGLWt11yy5m3phUFKpOib33STrvYyR8= 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=IjKMaOgE9zO1u/HVhRELMHSOg+lOul8SQchpt8VVzQc=; b=k8V09bhL3E6+t3u3SNveCvuJ9vaLchJrqAtql0BehoiC+HvJlYNQNguIhVYWt9rja1 AktZWwlOZOWECXz2OPIM+K5cfwQ7xzeToePgzORNPZOt8MFuCec9GqRXsnQzwwlSwnfm cEVywDsBoHS2igMxkdPFUVYUle94lRE5BrIEOIyXsVSq5UA+5Lf272OIlNCMW07SMgtV js6oo9kmvIMBPHb/1r/2HEEnB5PCbBj/bPIxV6wK44Noct+i5RZXxear4qsR6WNqlgmU USRnl16XoJPYX4OXIzjHICHyITYq5knTUO1zWaIbdDwsllPUxFt1YSnhEZ6OJC+1rm8K BgKw== X-Gm-Message-State: APt69E1w0bha8ikB3orDmk+auu46C4Uba45ossROWlv2ii8dmbB9nnvR wYVbSZZVJLZVOo7BBNvlkHWbag== X-Received: by 2002:a17:902:9004:: with SMTP id a4-v6mr31386577plp.143.1529637870774; Thu, 21 Jun 2018 20:24:30 -0700 (PDT) Received: from localhost.localdomain ([45.56.155.153]) by smtp.gmail.com with ESMTPSA id a23-v6sm9286253pfn.113.2018.06.21.20.24.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 20:24:30 -0700 (PDT) From: Guodong Xu To: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com Cc: liyu65@hisilicon.com, suzhuangluan@hisilicon.com, xuhongtao8@hisilicon.com, zhongkaihua@huawei.com, xuezhiliang@hisilicon.com, xupeng7@huawei.com, sunliang10@huawei.com, fengbaopeng@hisilicon.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Guodong Xu Subject: [PATCH 0/3] k3dma: add support to reserved channels Date: Fri, 22 Jun 2018 11:24:13 +0800 Message-Id: <20180622032416.20133-1-guodong.xu@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes bug people found on hikey960 when allocating DMA channels to peripherals such as SPI. It fails because the channel is reserved, and is not accessible by kernel. Patch 1 and 2 add support to reserved channels for K3 DMA. Patch 3 includes a removal of axi_config who controls DMA secure/non-secure access permission but is actually set in early stage by bootloader. Li Yu (3): dt-bindings: k3dma: add optional property dma_min_chan k3dma: add support to reserved minimum channels k3dma: delete axi_config Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++++++ drivers/dma/k3dma.c | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) -- 2.17.1