Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp411452pxj; Wed, 16 Jun 2021 05:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv61AuwdVw1HoXsnXN/BRWz+/cwZsZaKf2J3ht8yzPV1X/rQfHfao3PB1e3kynYx9eZj1T X-Received: by 2002:a05:6e02:1053:: with SMTP id p19mr3871202ilj.241.1623846423186; Wed, 16 Jun 2021 05:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623846423; cv=none; d=google.com; s=arc-20160816; b=st0qLc0lVzvWqi+m+nVwDKL+oi+qd8aTI5VYT3ZXhnhG54J241y6O5cBaRLgCIbgWi lU/qaOeE32Wt8fizqNbj+YamTNsmia4L2nexBLFMjWozMjz5tyHmNeADIUmvm/Zm31Qa prcReRtUYhwbGeq0PofV87LxE6M3p40e/fOMMScM2L5cnoHXORfy+vJeWCQFmhhVH/bG sGxhnQllaTEkvlZNUEOA85+ZpcxUQhNJ+GQbW84ZIJ0OOiSQu9Pale9fP6/5IzQyMd+p CeWAVfmG8GoiwqpU6um1oR4Ji0HboFcStWNY5J1PSUE6rDUiatPTKNXKQ7wXAbiz3SZs xT/w== 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=dtd/r4kQdNTFgMzEtuMDxRln8AeazBFMNuFE+IwxLQ0=; b=ZKcbQbrbaJNdzohFA0wFL4qsqqi7reI4tekWqtZ/NK1CvkLWQS/sKpzCRzEn5pKUkK XCQ6zAWn2RGncHJ5vLYyoggRlS79ec5WAyHTxBRHkyMLmJn3O4L+6LAXeW7Sxf27tzFQ QEtj4pTIsovF5vpVulX40R4u3LL/jeFhtryW7RSVWbkVEYYTXBM4t5zhNcQjSW0gww8E FkulBkGzEDI3pRYbHtb8gtMg8nuMhFAtDHU9+ofy9DUGn+/eK27mk4FHd0aJf12MkoIt 71wTN30HMTUtPky/Vzi4bDYHXP987HYp/u2kCGdE7n/OEFsvWRTq8ay7oMHKybTMFA2n h/qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tM9YyD9d; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si2315626ilo.56.2021.06.16.05.26.48; Wed, 16 Jun 2021 05:27: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=@gmail.com header.s=20161025 header.b=tM9YyD9d; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232649AbhFPLrv (ORCPT + 99 others); Wed, 16 Jun 2021 07:47:51 -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-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.