Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp337182pxb; Mon, 16 Aug 2021 06:37:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVgPWSTcTxNmC8/Ol9gdmnLYTWiwTe9L+70unwxyc2RskhhOG1BC/uF7dkn5gHfa/KlUJY X-Received: by 2002:a17:906:eb06:: with SMTP id mb6mr16087242ejb.50.1629121023732; Mon, 16 Aug 2021 06:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629121023; cv=none; d=google.com; s=arc-20160816; b=ZMBM7S5u1ekmU74acvNVVHdxa6BFKon0ZQ46kNrZO2dnzubaRZb34r/he9Ld1RwCwz sCT3FasXhsyDEt4BNsxzgg+MT0C2mGlkktqqBCtP3XaULi1Dxa1qUYwhB2H5/EtXnQUu j5ZAUah/7tr8PoRl9lwXJtmA34bkZ6u0bsVA/6D4DVlrnHc2cCs7vABoxDuJVAHY3hs0 SKijExnQnq7J3fvimMvD7aVH2Uvj3MfaVz6IwDjBPx+8ChAnhr4eyjtclvdrVWGtups1 NDlHWIb8taqCFZaAOdnRjMhokHZERiwA4RPCNn0d5bMQ9S97ziZeVzwRqvYGmpa/G+a6 20NA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=lpvahzE2wIGlBujRpLn6V/usqVUotAT2bJUMw7YabT4=; b=rQHWvrNDGc/8kv2EWycqDNzU1EmaYOKA69JvxOCb8komwhZW+vzSHfDw2FsR99l3B+ p5UQGUB7gl3+Zr+3FDc+AIsDyoSB0B9EE3qQaSAvjU6XhnDZLNov/TH5h2BeY6TAyjWt 7me5/FAi+uBEM5HL0ZeCUzsBT9HPOUW+Cij+/RIX/TFk6VFnRdwMeutdApmD4xl52ZeA nhib3fx4hzMj+fEA9dqJZ1inhiC3As72S27iyaPlSb7OKUsqm6m63AXA6qIlqq70ArP+ vA5Fl8sYoGZCRX+GLkJvPadpiHfhQDUqw0QH9BAogkXwBTISt4Tp3UIHQ5hIcOeiuwb1 nuhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AQmLm1Lo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si10560684edy.10.2021.08.16.06.36.40; Mon, 16 Aug 2021 06:37:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=AQmLm1Lo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241612AbhHPNeR (ORCPT + 99 others); Mon, 16 Aug 2021 09:34:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:49784 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241360AbhHPN04 (ORCPT ); Mon, 16 Aug 2021 09:26:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B4B3A60EE0; Mon, 16 Aug 2021 13:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629120383; bh=nJlI5nsttxgiWcZmG7gDRDAOUwH3HLjZvAb35dPozVg=; h=From:To:Cc:Subject:Date:From; b=AQmLm1LoZ1gUij0NnLdcMeyWAc7Td4t533QxhJCPA2KyWC8TgyjVriDo8NCZSZN5S X3mgcUSmvudWkU0W3xHhnfhBfqKIqYeSKM3intDrqzxxZYIOL0sjqu/2OYKUVneQzK /AKisa99nD1tJejzCdfWFJC3X4PabPupp/p9se38AU1TOY5z6lr+gado7MztakUFAG v4ulrwVEI2mxsUAM4LZ5JYdNlrDEosUzrl131NRSi/+QlMiciW9KPiCHFS0ePcaFdM qRaBzGMC1EFmucTbA5c/6LmZ/uycj6RF94uOwJRWrnyYO7WR/VC6psQB8yXoDGhU4M /wHG9lcQFwn3g== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: iommu@lists.linux-foundation.org, Will Deacon , Claire Chang , Konrad Rzeszutek Wilk , Christoph Hellwig , Rob Herring , Robin Murphy Subject: [PATCH v2 0/2] Don't fail device probing due to of_dma_set_restricted_buffer() Date: Mon, 16 Aug 2021 14:26:15 +0100 Message-Id: <20210816132618.11707-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This is v2 of the patch I previously posted here: https://lore.kernel.org/r/20210805094736.902-1-will@kernel.org Changes since v1 are: * Move of_dma_set_restricted_buffer() into of/device.c (Rob) * Use IS_ENABLED() instead of 'static inline' stub (Rob) This applies on Konrad's devel/for-linus-5.15 branch in swiotlb.git Cheers, Will Cc: Claire Chang Cc: Konrad Rzeszutek Wilk Cc: Christoph Hellwig Cc: Rob Herring Cc: Robin Murphy --->8 Will Deacon (2): of: Move of_dma_set_restricted_buffer() into device.c of: restricted dma: Don't fail device probe on rmem init failure drivers/of/address.c | 33 --------------------------------- drivers/of/device.c | 39 ++++++++++++++++++++++++++++++++++++++- drivers/of/of_private.h | 7 ------- 3 files changed, 38 insertions(+), 41 deletions(-) -- 2.33.0.rc1.237.g0d66db33f3-goog