Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3437271yba; Tue, 23 Apr 2019 03:56:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYifHmrITSfUYdd1tdeqf+wqBdb6UpCTX2cnoDdJlQYR2rdvTIm0zIufDNCcTxprE1J3kb X-Received: by 2002:a62:7089:: with SMTP id l131mr26838576pfc.158.1556017010632; Tue, 23 Apr 2019 03:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556017010; cv=none; d=google.com; s=arc-20160816; b=kLBs+SN1KI6QTsg0nLkQKUJL8fMjOl6FPZGTse8TlCEURAlwQrybiCD10zBcyMFgoH n9jMPdVZ/wBbSLUDUQ9sqKFrqBtP5R4vGFRod4iO9H8wg/0Mp4NR7egUG9zW3n0evJYt CCO6zjxN8RwZiBnDfSyIILjm9FYc95vQ6+oABXm6Ub0yWUT28usqQa68VEhz59Wnde1+ V/Q4KZVTRRixsr/06gVUyWPnIB4isLQkPGLFUeGeyxBHJl2TUQ97ak7iyJoixqlpLJxP GEdNFzaABsbANwEVPtgYGJKO/sJ/HAXo4vPe1rlEo7MaP7vwP0rF/spcbY5f8IfMmIJ4 oKcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=7arQDhYSKeaJNyrf4qBBS7v1C5fUUW73cLbdNuMXUXg=; b=kuntAxE2aVa/1gD7ixub+11OaxAhutML5PpMpPYKazb2ZXj3q2g7Zswn8plPdEOoi8 62NSrh2k4+/PlBz2QTVKas5ESkcBUJVk6pYtvDxgjquNwU/IczqvcWQWXur3cfSeU97t +/2Ky0B5fMBUiu0o8/i+AdipoH+fw6VPKzDSozfUz/ZB+tX+Uvzd7aQK68I+bnu7j+WL W7TwIELVTa26SqvlBiJn4QPiunumRXX0nUel/FD4aJoFpb3+ILUOHuvlRdcd92FoDA3u GInji9lqZfSpIMg0SfOfch6PApQ91cChPU3fAE4OENjLOWTYwLsWYYQ1HjCLdS1SGeT+ BaAA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si12449693plb.418.2019.04.23.03.56.35; Tue, 23 Apr 2019 03:56:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727551AbfDWKzD (ORCPT + 99 others); Tue, 23 Apr 2019 06:55:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:52938 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726033AbfDWKzC (ORCPT ); Tue, 23 Apr 2019 06:55:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 596F3AE20; Tue, 23 Apr 2019 10:55:01 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Cc: konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, sstabellini@kernel.org, Juergen Gross Subject: [PATCH 0/3] xen/swiotlb: fix an issue and improve swiotlb-xen Date: Tue, 23 Apr 2019 12:54:54 +0200 Message-Id: <20190423105457.17502-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While hunting an issue in swiotlb-xen I stumbled over a wrong test and found some areas for improvement. Juergen Gross (3): xen/swiotlb: fix condition for calling xen_destroy_contiguous_region() xen/swiotlb: simplify range_straddles_page_boundary() xen/swiotlb: remember having called xen_create_contiguous_region() drivers/xen/swiotlb-xen.c | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) -- 2.16.4