Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591305

Re: [RFC PATCH v4 19/28] swiotlb: Add warnings for use of bounce buffers with SME

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v4 19/28] swiotlb: Add warnings for use of bounce buffers with SME
Date 2017-03-02 18:20 +0100
Message-ID <tgCyu-5uu-23@gated-at.bofh.it> (permalink)
References <tbyvy-1iO-79@gated-at.bofh.it> <tbTgD-6tv-29@gated-at.bofh.it> <tbTgD-6tv-27@gated-at.bofh.it> <tgCyu-5uu-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 17/02/2017 17:51, Tom Lendacky wrote:
> 
> It's meant just to notify the user about the condition. The user could
> then decide to use an alternative device that supports a greater DMA
> range (I can probably change it to a dev_warn_once() so that a device
> is identified).  I would be nice if I could issue this message once per
> device that experienced this.  I didn't see anything that would do
> that, though.

dev_warn_once would print once only, not once per device.  But if you
leave the dev_warn elsewhere, this can be just pr_warn_once.

Paolo

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH v4 19/28] swiotlb: Add warnings for use of bounce  buffers with SME Paolo Bonzini <pbonzini@redhat.com> - 2017-03-02 18:20 +0100

csiph-web