From patchwork Tue Oct 25 16:20:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Tyshchenko X-Patchwork-Id: 672 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1100890wru; Tue, 25 Oct 2022 09:31:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yHR7p/0tuUC+V6b4oGPLyuTiiCtlmBrh2JjhK1a8vvb0iNDiqdh41zmKhHpqqunMac/+F X-Received: by 2002:a17:906:cc0f:b0:7a0:b91c:855f with SMTP id ml15-20020a170906cc0f00b007a0b91c855fmr16898996ejb.26.1666715496381; Tue, 25 Oct 2022 09:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666715496; cv=none; d=google.com; s=arc-20160816; b=ck8XttNuKrmKhfcQmozX8rRzCj0L2SJKuzn9lP1UHYIVwH82e+jHcDAZ4Ts/gtx7QI mBkMp9506JQBR5wvul6E+kX3/3bftJk6fGTM0fFhcRsNXea4QWwfEj2JIGly3mH/zbk4 DQLVqPtx7dyAceZ7WrmmNpbkNi8B7oM7ksqHuRvo4Li1Sfudse4CpgKODuuoR16bN9XQ ePjS517iS9LitTFGIkrmlW81QY+9aNpNrZ88qeYqSG1xeFvimb6ihTukhUhn5DEL1GkZ pkKHX6k5EIeo95O3vvVJOCTuCgYieu0WTNX2z+vDw7UDtQyp2rMCaErQM7FETqzxyRj/ GVTQ== 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=s53x+nJuJzQXZZ8xIG3UoaBPvSj9GLUN61aOWqvjPbk=; b=ZsiVX9zCkdDuNCRyQTzmRd9Z5CxmhSkQCNEO2ll8uppYe+eDRyf9YlUJsTiv2iz2B9 3Ku+XZ29e8JLJrgs3NWb08RqvmyzC9hRdySBbz/j6ypy5TfCeug4RJD7KBR0WzCcFE+e bb1lFBS8Hcl+M8kaleDX/xkf+cP9TyjCtqWUbrghyl5JT+WL4dKdW62N3D2zSfgJdBj/ ju6hzZ8hMJF8Ce2FBh7vhodjVMmuEWMaUqBpfgi5YKySHSRtKSKcnikxDXCOob+4U5kv Roc8T+dkUC4bOVms5e3/Z+YTnC7LJOyi+1xcjoMQfvayF+00BGlO3z+JPJQSMOlbJ1K8 CnXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fmlyNG02; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tl25-20020a170907c31900b007309eb6dcbfsi2952812ejc.372.2022.10.25.09.31.09; Tue, 25 Oct 2022 09:31:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fmlyNG02; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231745AbiJYQUP (ORCPT + 99 others); Tue, 25 Oct 2022 12:20:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiJYQUN (ORCPT ); Tue, 25 Oct 2022 12:20:13 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA3237CB47 for ; Tue, 25 Oct 2022 09:20:10 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id j14so17646331ljh.12 for ; Tue, 25 Oct 2022 09:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=s53x+nJuJzQXZZ8xIG3UoaBPvSj9GLUN61aOWqvjPbk=; b=fmlyNG02R5wPSQmaT7mCq+Tp1GXMFdyykFhnVmxVFKgk2bP+7H7mUuRdls1ejlfymv nwAbpLqSS4xWyJoKQ79Y47SFIikXg/70YNcmnF5fMiy+5BHQzMKfQJ/N2qR085/5+wYk CO+BIjE0lTKTWB2xUGnEBOmC8ul0XMgwdlrLEDojS29H+k9RX4vGj4MDy5SxjMy4MOTi 0BKdT0jYgyAf6+KhrBvxMY8JYcphKs82gCX9r/twr2yH1P8ldvltwfOKIHj1yMZRExRw wLJ1p41G4IZXkpwOwXybJzpzSGdYs6VaOseQtcLhJKV1pp1zvksgE3qaJHaNpldd/3ha IIZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s53x+nJuJzQXZZ8xIG3UoaBPvSj9GLUN61aOWqvjPbk=; b=rueUgs0V0oBm2A49Sc34CYD3vzYb+0/qysk4EZCCMaGjLX35Or9LOsuidzohe32XtN yAHTBv6GaljaXP4djFgR4RaP+1C5lKQ922HfAFA8XteLkmuPZnj1m4bfrimwsh74l3Bb /rV1NgFb/oASs4yqRFSTcx6z/lXqYL5o3gxR8Ds0rXainVXTd8Hb616e7ZmAluZdA7Ms z7F1YFlQ4mHPS6zKtAPMtUk5iUTFJeHEg8X5WaObZsDAoU8isTf0qtwNXb7jh0G9+ZOj PMLTymZ1fZkO+ZRIukJF3yngRu+wJZILoNbSSeMeuG0v1nKjSsrlmTC3ToSsuECT1drP joUA== X-Gm-Message-State: ACrzQf0G3k6FT2Bd2ZB++BOuOY1JOBxWQsD/RtEHVxIvZUipqJ2QrDuB LjWMr9dj3HPeY/PY4itK4mc= X-Received: by 2002:a2e:a910:0:b0:26a:ed13:cda6 with SMTP id j16-20020a2ea910000000b0026aed13cda6mr13710361ljq.250.1666714809166; Tue, 25 Oct 2022 09:20:09 -0700 (PDT) Received: from otyshchenko.router ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id a16-20020a2eb550000000b002770302bdffsm540136ljn.105.2022.10.25.09.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 09:20:08 -0700 (PDT) From: Oleksandr Tyshchenko To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Oleksandr Tyshchenko , Stefano Stabellini , Juergen Gross , Xenia Ragiadakou Subject: [PATCH V4 0/2] xen/virtio: Handle PCI devices which Host controller is described in DT Date: Tue, 25 Oct 2022 19:20:02 +0300 Message-Id: <20221025162004.8501-1-olekstysh@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747677868277688487?= X-GMAIL-MSGID: =?utf-8?q?1747677868277688487?= From: Oleksandr Tyshchenko Hello all. Prior to V4 there was a single patch, for V4 an additional prereq patch appeared according to the discussion at: https://lore.kernel.org/xen-devel/alpine.DEB.2.22.394.2210211258050.3873@ubuntu-linux-20-04-desktop/ Based on: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git/log/?h=for-linus-6.1 Oleksandr Tyshchenko (2): xen/virtio: Optimize the setup of "xen-grant-dma" devices xen/virtio: Handle PCI devices which Host controller is described in DT arch/arm/xen/enlighten.c | 2 +- drivers/xen/grant-dma-ops.c | 105 ++++++++++++++++++++---------------- include/xen/arm/xen-ops.h | 4 +- include/xen/xen-ops.h | 16 ------ 4 files changed, 60 insertions(+), 67 deletions(-)