lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v4 6/8] x86: Add hardware prefetch control support for x86
Date
> As much fun as it is to see a function like this, that is not ok, and never guaranteed
> to keep working, sorry. Please find the device properly, never assume a specific
> driver model topology as they are guaranteed to break over time and never
> supposed to be static like this.

I will consider a method that does not depend on a specific driver
model topology in the next version.

> How do you know attributes are to be marked read only after init? Do other parts
> of the kernel do that? I don't think the driver core guarantees that at all.

I will fix a proper marking in the next version.

\
 
 \ /
  Last update: 2022-05-20 08:31    [W:0.079 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site