Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1605618
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Joerg Roedel <joro@8bytes.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] iommu: iova: Consolidate code for adding new node to iovad domain rbtree |
| Date | Tue, 21 Mar 2017 15:00:01 +0100 |
| Message-ID | <tnsul-43V-9@gated-at.bofh.it> (permalink) |
| References | <tem4N-7KI-17@gated-at.bofh.it> <tem4N-7KI-15@gated-at.bofh.it> |
| X-Original-To | Marek Szyprowski <m.szyprowski@samsung.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1490104724; bh=4NTTVdyeTlt7/y5dnPozW8dZseMiurM3d6wc9bbtf8c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a3IB0u/16OSP4rHih76FHPWMEFXnRdfmK6W6IVblMrWS/3s5aTEu7lo6+m1IIkzix ruYe8HXNKA4QEYzUFxp7gyXMKbHUGZE8BU26ililP8TySautZGKcEid41Jbz5wG0qo k7rkHb7b3d+BsrF+7szettnu5g0EInd48pYZaHgAGgXu1/Iu6WITyyglHSghAiAgHg ht+U9F0M6zZYoekjmlry1K8TMtPwUOse1KOcbr3NwFkOvEMObG9v1HAkH9OSwDKMBt VPgsKQv9ONttj4VOweRmsSzwRVa3DhasyhcEAj3ER87yHSbYjIKoSgCwb179MRvtcG t+F+rEtkzDeVA== |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 15 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Robin Murphy <robin.murphy@arm.com> |
| X-Original-Date | Tue, 21 Mar 2017 14:59:29 +0100 |
| X-Original-Message-ID | <20170321135928.GA29659@8bytes.org> |
| X-Original-References | <CGME20170224111346eucas1p2039e4d85e34f2a4cdd3adc298e2a1b6f@eucas1p2.samsung.com> <1487934817-11725-1-git-send-email-m.szyprowski@samsung.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1605618 |
Show key headers only | View raw
On Fri, Feb 24, 2017 at 12:13:37PM +0100, Marek Szyprowski wrote: > This patch consolidates almost the same code used in iova_insert_rbtree() > and __alloc_and_insert_iova_range() functions. While touching this code, > replace BUG() with WARN_ON(1) to avoid taking down the whole system in > case of corrupted iova tree or incorrect calls. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > --- > v2: > - replaced BUG() with WARN_ON(1) as suggested by Robin Murphy > > v1: > - initial version Applied, thanks.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2] iommu: iova: Consolidate code for adding new node to iovad domain rbtree Joerg Roedel <joro@8bytes.org> - 2017-03-21 15:00 +0100
csiph-web