lkml.org 
[lkml]   [2017]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH v4 19/28] swiotlb: Add warnings for use of bounce buffers with SME
    From
    Date


    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

    \
     
     \ /
      Last update: 2017-03-02 18:13    [W:2.108 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site