Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2521123ybp; Thu, 10 Oct 2019 08:33:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwE9jU5hRLuodMEsVwtDSzH7ivJJ4TyJV2mqv9u3aoIB+32JFfdVlArbmS7lgcBvsiO6ZPC X-Received: by 2002:a17:906:154a:: with SMTP id c10mr8473003ejd.238.1570721593604; Thu, 10 Oct 2019 08:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570721593; cv=none; d=google.com; s=arc-20160816; b=kdiJFpMFwE4LoG5K76A8bS0vRxn/dJ7oo0QbT8yrTkSCv/5sDu3OW9VGXrnidzdWfx pC4f3a+VE+WPYQISqQIpr50lM9WGYj/0olifH3cfc/eRAAB+Hfrm00s+YriiQHDjxQnN wF62tw+qZCgUkRFLEQuHGNvavqB+lz5UieEaHTqcpGFBmrgH9+l6MJf291M/V3z2N+68 kciq608mnbZM/MOikt7p4+UqZ8zy3zTyx9rdAfpsXio4Sc49vE5tfR7+3W2Yql5Q39oI Yu0hlJ1HptnLvLAgSalQ1CUDt5zyAKJ1qKVTeMJOOBzJVzWqsFdao9g8HtRKwGqyTgJ6 0KuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OCbNHp9XfcUM0QmcYZHuxvuZ72tVMIWV5NkzlJUXnf4=; b=DTalyGYeivGs8sNeWJCv16wzb1cO/AkQQGek/eJIpWxNREWGcXb1GSl4/7bzyLxmsX dpQPmU1gBr9Cg0MUXIfTYir9pbaBXYvjVe5jgiXBWKMVeM0w/+3mnMegDpDkvI1fEnGX ZsV/Oll4jBjj926sXRM93JQBw4Oct8tqn6gX2Em9VWrXjkHOQ/VUd0hTQ+bjSYvSpzlX xV5BbFtzvMBHZ0u6GANlpzweuEDlhUQTwkwgloUzQl4T7JtKiR+AP+3AiiaurZfrBb9S nIxTOmrpSSAfZAxgXqqstiJk+XTPVII9TX5FYil3RtSbaGykigoUNvu548i5XnvOXzwj OI4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nHVklzU1; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si3490237ejr.417.2019.10.10.08.32.45; Thu, 10 Oct 2019 08:33:13 -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=@kernel.org header.s=default header.b=nHVklzU1; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726220AbfJJPcV (ORCPT + 99 others); Thu, 10 Oct 2019 11:32:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:39986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbfJJPcV (ORCPT ); Thu, 10 Oct 2019 11:32:21 -0400 Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E338E20B7C for ; Thu, 10 Oct 2019 15:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570721541; bh=OCbNHp9XfcUM0QmcYZHuxvuZ72tVMIWV5NkzlJUXnf4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nHVklzU1lmcKAHuGh682Tq/tEEzBngD2WqvYJqJr7e4qIvJg1BX+gBZgdqqPWMH5f qJgvNTw/UJT6GKgfZIqF0duoSeK+X8hMiQA4tzIQ0rxN6MaDu9wQfYcfGU9HYGF4KB iIVLMM6CpdQSoU0lwlicUbBsLkgjoftACQGyj35E= Received: by mail-yb1-f174.google.com with SMTP id 206so2068841ybc.8 for ; Thu, 10 Oct 2019 08:32:20 -0700 (PDT) X-Gm-Message-State: APjAAAVm9Gj2AbxGie1Wav5+RcL3ez3AV7sF3wV1xMhaFyH2hPw8rblB 8xA32eoECeF8da6m9veAQLGbwVjXsAQ7zj9fug== X-Received: by 2002:a25:c883:: with SMTP id y125mr6956870ybf.358.1570721540132; Thu, 10 Oct 2019 08:32:20 -0700 (PDT) MIME-Version: 1.0 References: <20191008194155.4810-1-robh@kernel.org> <362d1eac-e352-d8de-1b6f-586acc0007ce@oracle.com> In-Reply-To: <362d1eac-e352-d8de-1b6f-586acc0007ce@oracle.com> From: Rob Herring Date: Thu, 10 Oct 2019 10:32:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] xen: Stop abusing DT of_dma_configure API To: Boris Ostrovsky Cc: Oleksandr Andrushchenko , "xen-devel@lists.xenproject.org" , "linux-kernel@vger.kernel.org" , Robin Murphy , Julien Grall , Nicolas Saenz Julienne , Juergen Gross , Stefano Stabellini , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 9:00 AM Boris Ostrovsky wrote: > > On 10/9/19 7:42 AM, Oleksandr Andrushchenko wrote: > > On 10/8/19 10:41 PM, Rob Herring wrote: > >> As the removed comments say, these aren't DT based devices. > >> of_dma_configure() is going to stop allowing a NULL DT node and calling > >> it will no longer work. > >> > >> The comment is also now out of date as of commit 9ab91e7c5c51 ("arm64: > >> default to the direct mapping in get_arch_dma_ops"). Direct mapping > >> is now the default rather than dma_dummy_ops. > >> > >> According to Stefano and Oleksandr, the only other part needed is > >> setting the DMA masks and there's no reason to restrict the masks to > >> 32-bits. So set the masks to 64 bits. > >> > >> Cc: Robin Murphy > >> Cc: Julien Grall > >> Cc: Nicolas Saenz Julienne > >> Cc: Oleksandr Andrushchenko > >> Cc: Boris Ostrovsky > >> Cc: Juergen Gross > >> Cc: Stefano Stabellini > >> Cc: Christoph Hellwig > >> Cc: xen-devel@lists.xenproject.org > >> Signed-off-by: Rob Herring > > Acked-by: Oleksandr Andrushchenko > > > Is this going to go via drm tree or should I pick it up for Xen tree? Please apply to the Xen tree. Rob