From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 755B9C48BE6 for ; Wed, 16 Jun 2021 11:45:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 484C761369 for ; Wed, 16 Jun 2021 11:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232653AbhFPLrw (ORCPT ); Wed, 16 Jun 2021 07:47:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232521AbhFPLru (ORCPT ); Wed, 16 Jun 2021 07:47:50 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61312C061574 for ; Wed, 16 Jun 2021 04:45:44 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 131so3412756ljj.3 for ; Wed, 16 Jun 2021 04:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=tM9YyD9dbmrU6QAIak9v1L1Hze3NeFQPPNBEtD4omgZjEyhQcUg1q3wkLUmDpwXXOT 6u+FMb976YVcaypY+NkjNsra9tUi2NzMsuaXdS253tuTX+l569fNkUgrvOzggDbWTp8W ENky2qq1vTSb11/DZgVTmvzbf9N+SWxrHqqLmE895cQUdLDT00v5gJHuqst+RLC6DELx AZubyEXZLMybvYei/eZAvnHzFQnU3mWT2NbfPe9zTz+GpRTN5egfyB5q61LhPml0mNjt 9xsP8j3AJPQS9llNh712rLD/eGmKOg1uNQpb4kiRypPtttLcmaoFcMAzMHxwwR+iDCTV h9lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=KuDWhtTGygAQITnY24uA8y4P/W58N3fhLWzsWIPjHmS58RSF76yKLixHtxsNCHGyLm 2Ei1KEhKE+Clfiq28ioNifpSFAd9ukbGlCCCq5L10UgBKHWTmWZaXnCmrZuA4/W0kcks W+MI2E3XIEzpBV3XAalw4Okcnho2FO1sXry+8usLS7DKDtDlFiOxwbnKOkgTwXn4jEoS UXHGw+7egyYiChcnXyAGCDqqFEm12SVoexqy0RiCjEAK83n8IkjYUXFOST5IB+rnewPd Neq8D/e6ONGBnlFR5b+JQsoj8Csbvsh4BI+5YA7vb306FdJ2OM3D7s0FyvLCtH9hETyC HhVQ== X-Gm-Message-State: AOAM5300BHpjS3n50kNjqRvXLyi4R4MjQ9/YVknMEPiCUvUYl+PWCQQv HvQoWVJW4tun3qX0SRRuznO81L/OUCio74uXtwU= X-Google-Smtp-Source: ABdhPJzI40Mx409ixL6A8VaGSABYZuuy5E1EPuBErhnFhAQBqUvi8LwmZwSBohmrfaadIq0f8nBwGp02vfH8jjD6rDc= X-Received: by 2002:a05:651c:291:: with SMTP id b17mr2735729ljo.497.1623843942771; Wed, 16 Jun 2021 04:45:42 -0700 (PDT) MIME-Version: 1.0 References: <20210611095528.9230-1-roman_skakun@epam.com> <855a58e2-1e03-4763-cb56-81367b73762c@oracle.com> In-Reply-To: From: Roman Skakun Date: Wed, 16 Jun 2021 14:45:32 +0300 Message-ID: Subject: Re: [PATCH] swiotlb-xen: override common mmap and get_sgtable dma ops To: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk , Juergen Gross , Stefano Stabellini , xen-devel@lists.xenproject.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Oleksandr Tyshchenko , Oleksandr Andrushchenko , Volodymyr Babchuk , Roman Skakun , Andrii Anisov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > We make sure that we allocate contiguous memory in xen_swiotlb_alloc_coherent(). I understood. Thanks! -- Best Regards, Roman. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1A07C48BE8 for ; Wed, 16 Jun 2021 11:45:47 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A776C613D8 for ; Wed, 16 Jun 2021 11:45:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A776C613D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 73A3B60A75; Wed, 16 Jun 2021 11:45:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VbVpGbOMo6q5; Wed, 16 Jun 2021 11:45:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 7F3C660609; Wed, 16 Jun 2021 11:45:46 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5B466C000D; Wed, 16 Jun 2021 11:45:46 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id A1D6BC000B for ; Wed, 16 Jun 2021 11:45:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8FCEE403E8 for ; Wed, 16 Jun 2021 11:45:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vhbyPBYzBJNn for ; Wed, 16 Jun 2021 11:45:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by smtp2.osuosl.org (Postfix) with ESMTPS id D563E4045B for ; Wed, 16 Jun 2021 11:45:44 +0000 (UTC) Received: by mail-lj1-x230.google.com with SMTP id e25so3430463ljj.1 for ; Wed, 16 Jun 2021 04:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=tM9YyD9dbmrU6QAIak9v1L1Hze3NeFQPPNBEtD4omgZjEyhQcUg1q3wkLUmDpwXXOT 6u+FMb976YVcaypY+NkjNsra9tUi2NzMsuaXdS253tuTX+l569fNkUgrvOzggDbWTp8W ENky2qq1vTSb11/DZgVTmvzbf9N+SWxrHqqLmE895cQUdLDT00v5gJHuqst+RLC6DELx AZubyEXZLMybvYei/eZAvnHzFQnU3mWT2NbfPe9zTz+GpRTN5egfyB5q61LhPml0mNjt 9xsP8j3AJPQS9llNh712rLD/eGmKOg1uNQpb4kiRypPtttLcmaoFcMAzMHxwwR+iDCTV h9lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=NHPtZnljp0pvZbV9QxSkx64UDXh5kj2h0P0gcYn4ltK4+rdNyac9iU9QcMkMdHGvCW nALzGkN62ufI9arg3ul+soYw9m3N6E76ibMlgU28T7qoDoNXQcEtGjdSwsnRKSy6e6z1 RlVbqJID8CPU+wDJgYKi66ODYW6tDx5tUhnngvXzrobqGI2Nn+0ayfRGn8JjQ44aFzXc +Yhgf/vZMDW0jDtw+CmfzVqznjEvnEgAqoQ45iMpJy7eaRbRFVMwCUMCrdHKZkBsBxM2 L7iwF5znkckmOhpMD+qyucr1TD2Ut0Tm4ZRp5TthyCXo5D73+qC1hv/j2zPQrzbsry4p cdjg== X-Gm-Message-State: AOAM532MmtrxdBPXAZaYTiotVQH+zb+oYab3G5SkA8fC14bQoJcVzU5F tMyRRoqUDyTjm9VztQdaV6yUTQOSgVMNC9OWQf4= X-Google-Smtp-Source: ABdhPJzI40Mx409ixL6A8VaGSABYZuuy5E1EPuBErhnFhAQBqUvi8LwmZwSBohmrfaadIq0f8nBwGp02vfH8jjD6rDc= X-Received: by 2002:a05:651c:291:: with SMTP id b17mr2735729ljo.497.1623843942771; Wed, 16 Jun 2021 04:45:42 -0700 (PDT) MIME-Version: 1.0 References: <20210611095528.9230-1-roman_skakun@epam.com> <855a58e2-1e03-4763-cb56-81367b73762c@oracle.com> In-Reply-To: From: Roman Skakun Date: Wed, 16 Jun 2021 14:45:32 +0300 Message-ID: Subject: Re: [PATCH] swiotlb-xen: override common mmap and get_sgtable dma ops To: Boris Ostrovsky Cc: Juergen Gross , Stefano Stabellini , Andrii Anisov , Konrad Rzeszutek Wilk , Oleksandr Andrushchenko , linux-kernel@vger.kernel.org, Oleksandr Tyshchenko , iommu@lists.linux-foundation.org, Roman Skakun , xen-devel@lists.xenproject.org, Volodymyr Babchuk X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" > We make sure that we allocate contiguous memory in xen_swiotlb_alloc_coherent(). I understood. Thanks! -- Best Regards, Roman. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 579E4C48BE5 for ; Wed, 16 Jun 2021 11:45:52 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2874361185 for ; Wed, 16 Jun 2021 11:45:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2874361185 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.142900.263526 (Exim 4.92) (envelope-from ) id 1ltTzN-0006xR-8B; Wed, 16 Jun 2021 11:45:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 142900.263526; Wed, 16 Jun 2021 11:45:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltTzN-0006xK-4v; Wed, 16 Jun 2021 11:45:45 +0000 Received: by outflank-mailman (input) for mailman id 142900; Wed, 16 Jun 2021 11:45:44 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ltTzM-0006xE-EF for xen-devel@lists.xenproject.org; Wed, 16 Jun 2021 11:45:44 +0000 Received: from mail-lj1-x232.google.com (unknown [2a00:1450:4864:20::232]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 51577879-0491-4a3f-82ff-b34a26e2ec2d; Wed, 16 Jun 2021 11:45:43 +0000 (UTC) Received: by mail-lj1-x232.google.com with SMTP id b37so3332313ljr.13 for ; Wed, 16 Jun 2021 04:45:43 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 51577879-0491-4a3f-82ff-b34a26e2ec2d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=tM9YyD9dbmrU6QAIak9v1L1Hze3NeFQPPNBEtD4omgZjEyhQcUg1q3wkLUmDpwXXOT 6u+FMb976YVcaypY+NkjNsra9tUi2NzMsuaXdS253tuTX+l569fNkUgrvOzggDbWTp8W ENky2qq1vTSb11/DZgVTmvzbf9N+SWxrHqqLmE895cQUdLDT00v5gJHuqst+RLC6DELx AZubyEXZLMybvYei/eZAvnHzFQnU3mWT2NbfPe9zTz+GpRTN5egfyB5q61LhPml0mNjt 9xsP8j3AJPQS9llNh712rLD/eGmKOg1uNQpb4kiRypPtttLcmaoFcMAzMHxwwR+iDCTV h9lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=hjGG4WkHoenU8KfGsYdL8Km3zgxM4GlodKf0fALGqsDRN+hmPagNeTfhGUkOAY3IFS +NFSPPYVGk5AeVZr7N0hstKs/O642BJb04YWQ7xvIPis4frBW5lcHP1MfgR6olr8j35Y t+bm407g3/ChUm7KJWQ63mtDki9mZ6AG7jXFbTJl6ueL8tGezuowP0DcQpUN1QTo8xhI BygEbTgQdZthDBvnpJXKXQZKRViUFkYwAmlDxiVUXaN3ogPWpuBiBW8mgmmZF+sPjThY TQJWGYU6cXTwiWjnkSBkUvxr/KF6Wd+BltrU65fTDPFjst6IlIpBCwDIuox4/ta++/es J1DA== X-Gm-Message-State: AOAM532enZTvopB1K2VpN56fXxLFwJaNWHyVv3o8v1jdm0ugL5BWWZN3 5yESG2vz95boKRSViaBeTlQuzMaTVIVT7YFkPqbiVGXjKqp89Q== X-Google-Smtp-Source: ABdhPJzI40Mx409ixL6A8VaGSABYZuuy5E1EPuBErhnFhAQBqUvi8LwmZwSBohmrfaadIq0f8nBwGp02vfH8jjD6rDc= X-Received: by 2002:a05:651c:291:: with SMTP id b17mr2735729ljo.497.1623843942771; Wed, 16 Jun 2021 04:45:42 -0700 (PDT) MIME-Version: 1.0 References: <20210611095528.9230-1-roman_skakun@epam.com> <855a58e2-1e03-4763-cb56-81367b73762c@oracle.com> In-Reply-To: From: Roman Skakun Date: Wed, 16 Jun 2021 14:45:32 +0300 Message-ID: Subject: Re: [PATCH] swiotlb-xen: override common mmap and get_sgtable dma ops To: Boris Ostrovsky Cc: Konrad Rzeszutek Wilk , Juergen Gross , Stefano Stabellini , xen-devel@lists.xenproject.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Oleksandr Tyshchenko , Oleksandr Andrushchenko , Volodymyr Babchuk , Roman Skakun , Andrii Anisov Content-Type: text/plain; charset="UTF-8" > We make sure that we allocate contiguous memory in xen_swiotlb_alloc_coherent(). I understood. Thanks! -- Best Regards, Roman.