Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6056261ybi; Wed, 29 May 2019 02:05:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBeFN2JiMDQqmvoA50TiH4LmDzP5DaU1VqRDpVlonaqcCkljhUMeKgglnl1/RRElScS8ni X-Received: by 2002:a17:90a:ac18:: with SMTP id o24mr11026020pjq.116.1559120740490; Wed, 29 May 2019 02:05:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559120740; cv=none; d=google.com; s=arc-20160816; b=ag0+g0HSSj2E2KkdZxVGZVFT3QaH0KiCVYqMjt01v3eMRysxzz8d320Qr8jWt3rlfY im2KGoUu2Cmq6NZPoeSvhPbJd4IHiy0FyDjkg/UsYPov2LmKK6MZ0UWiILydKLwuTeX4 YFVKmfHUZxv8fn9Q36E//u8yJF5Kzv2ePpnHhbk3Jgsl0huN9ijOkpJfuDQNZRiHNo7x eI0Ow0ol1g7jKjoDZD+qn0m134LrZSR3gHszpa5HrrJi1Sn5cFnKVO/W1I+UuQWy/yfN Wv0wnPb96t2P+1fNgo80sbF4hPJe8LVbaJaTeoc6FTMdrCGDDic68GRZZzMjeBM7Co/X 9JDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+xy7f3eym+H37I6VpLsWNTiNkCcgPKSMBpjRc2Yb+rE=; b=oNr3cxsFm+NLzBA28bqY7YchjzuHawFNwJ64kdPGovn/2pKFVpvnzv5Aru8R2Hiwaz ByBvEwga0qscdeeVfPYGEUHZqxYr5p2FOLXYckAaDJWtf8WHV0d8igsHH33GbjlNkR7y BCtwCxNhojL4K0FbjUc87MbYL0YJqWud/zQzWAM9Nj7tU4mDftY+EKx9fEA6DOhbSIDk HcxrRVlMi5iFsBvfuxE3Uzias/wW9HXmGL5NIpdohMSFQooJGwqR0/jROpAtkbaWQxRw UE6vvAZWbD7858MgFyEaVHMq/P6/+JkZmgNMonXEU50oxy2i9wTjCTuUVR5lG8YEruQL hycA== 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 o61si25725220plb.0.2019.05.29.02.05.25; Wed, 29 May 2019 02:05:40 -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 S1726428AbfE2JEM (ORCPT + 99 others); Wed, 29 May 2019 05:04:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:46168 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725911AbfE2JEL (ORCPT ); Wed, 29 May 2019 05:04:11 -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 75ED5AC4F; Wed, 29 May 2019 09:04:10 +0000 (UTC) From: Juergen Gross To: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Cc: Juergen Gross , Konrad Rzeszutek Wilk , Boris Ostrovsky , Stefano Stabellini , xen-devel@lists.xenproject.org, stable@vger.kernel.org Subject: [PATCH v2 0/3] xen/swiotlb: fix an issue and improve swiotlb-xen Date: Wed, 29 May 2019 11:04:04 +0200 Message-Id: <20190529090407.1225-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 36 ++++++++++++------------------------ include/linux/page-flags.h | 3 +++ 2 files changed, 15 insertions(+), 24 deletions(-) -- 2.16.4