Re: [PATCH for-next 2/2] IB/hfi1: Add diagnostic debugfs interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 26, 2018 at 10:59:49AM -0700, Dennis Dalessandro wrote:
> From: Mitko Haralanov <mitko.haralanov@xxxxxxxxx>
> 
> With previous version of the HFI driver, user level tools
> which required access to the device's BAR made use of the
> 'resourceXX' files provided by the core kernel in sysfs.
> 
> However, recent distro kernels have started compiling and
> distributing their kernels with CONFIG_STRICT_IO_DEVMEM
> turned on.

No to creating a backdoor around CONFIG_STRICT_IO_DEVMEM prohibitions.
Unless you can explain that the device has sufficient HW protections
for this to be completely safe in userspace.

Hint: if your BAR can trigger DMA in any way this is a hard NAK.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux