Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp601043pxb; Mon, 16 Aug 2021 12:42:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHBnsGmmDpZNaHtSlOS+kYVhP9eFA0A94QSrlFCl+hpMFsFbpdJSet1fws+/0u1xqT7C8K X-Received: by 2002:a05:6e02:13f0:: with SMTP id w16mr308151ilj.268.1629142955815; Mon, 16 Aug 2021 12:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629142955; cv=none; d=google.com; s=arc-20160816; b=NVp2P57zLTDEo2U69aS57iTutphYb4LNfTBhUm09BzUHhilrOYINuUyr6UNHF17144 zxLWnH9HJh32kJnolO224pxSiIM2ZZb19ytP9sg+nbQZQ8aV2OO6DoDTSw9huFtOw/rd zElqMxNbdDQ1aPFW61u0WfhuDAk0XB2Mt/CTt8VYjOAVcd0e/T9wFD/uWtbnV3/2HSg7 WV01NIp5UWvBZ5LuLQ85oIug5jiGSkoy0C/I+XkfoumBk7tIxcVFrMOCxy9lppsOgvkk Sx2jLe0Wc8+XV34p/awaAE46wuiBLOe6xAZ41PqHMgsu2JIy1FE2rCDLuObfvj/n/cJG MqZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zQ3NxG0Zln1/WE6rsOyF0aYyeLc7d6jlbYA7b0gwa1s=; b=JFGxd7Mop3MAg9WdQyRSkqGhA52fm3PgIjOWvdD1LETwFs+NCSEl4om65DsZC+PfMH TOiqDMJjUVIebQYJoaXfL3p4k19Ux5hfi7/ztvsu1ClmmDw7PIgcvsNDKwyJTfEu/qRC AVhJnBLOu7seUinS8OGZob2YKRNhOIAsD/oITjOe8gc1Cowg5OpmPGhEJSx7nGnITrR1 dq3jKGKEB68ZVo1nSeo5Baqg7mUTMitm2a1r68HY7DlREnC6hzrWKCq148ef05AOuBzl ARMT/NeoEFhN6yin5uZ+4DS4RMKVhYDrICpxfU/z9TpPQsmO9jSEYk2j+buMycUnyEiW Snlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PNgp5i1Z; 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 f16si158744ile.51.2021.08.16.12.42.24; Mon, 16 Aug 2021 12:42:35 -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=PNgp5i1Z; 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 S230415AbhHPTkx (ORCPT + 99 others); Mon, 16 Aug 2021 15:40:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:41138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbhHPTkw (ORCPT ); Mon, 16 Aug 2021 15:40:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9D37060F55 for ; Mon, 16 Aug 2021 19:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629142820; bh=0NGchtMPqXcGzx6gjhgUu5kP909HOdwGq6mHakCZGwc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=PNgp5i1ZmTHXE84/dACTXBnZfelmk/5B0bB2QynpkqE3XleOGZjJiMRroy4GLv9Mr m5oCH5UVNMnpPL8RsV6R0zOYQSISSWlYOK6KIicnnkGOPZq5Z/yeQV2MBBGZZpZFm8 ylJ+kPVxVPad3Xk+XT2ZaS76thIkTyOKoUQhjvbyS9ZamVQ8CjqFkdY1aVNv4Pvzwf HfnNcaDnMDKokNdezBiT4Yup3MRkaGd2uvz+akT+i/O18MHfcZ7CUCM7vxV+Z7RZD5 19NBtR8U0l1zhigcXR2tV4NejYYb+/uqgx39MUp5jW9MNoVNo3OgCtaa+AOwje9aeX ZYZG3ZhheI+iQ== Received: by mail-ed1-f47.google.com with SMTP id q3so24027242edt.5 for ; Mon, 16 Aug 2021 12:40:20 -0700 (PDT) X-Gm-Message-State: AOAM531haTWKRcwytXcavQqYB5kR6DGu1vRUu0IJSxrpLUbQqUaRYGpu s3YO6YZgFJwLT+cS9ngzsJbGv8mmAgWe7MGp6g== X-Received: by 2002:a50:9b52:: with SMTP id a18mr218882edj.165.1629142819250; Mon, 16 Aug 2021 12:40:19 -0700 (PDT) MIME-Version: 1.0 References: <20210816132618.11707-1-will@kernel.org> In-Reply-To: <20210816132618.11707-1-will@kernel.org> From: Rob Herring Date: Mon, 16 Aug 2021 14:40:08 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/2] Don't fail device probing due to of_dma_set_restricted_buffer() To: Will Deacon Cc: "linux-kernel@vger.kernel.org" , Linux IOMMU , Claire Chang , Konrad Rzeszutek Wilk , Christoph Hellwig , Robin Murphy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 16, 2021 at 8:26 AM Will Deacon wrote: > > 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(-) Reviewed-by: Rob Herring