Messages in this thread | | | Subject | Re: [RFC PATCH v4 19/28] swiotlb: Add warnings for use of bounce buffers with SME | From | Paolo Bonzini <> | Date | Thu, 2 Mar 2017 18:01:26 +0100 |
| |
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
| |