mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
nfit: disable userspace initiated ars during scrub
While the nfit driver is issuing address range scrub commands and reaping the results do not permit an ars_start command issued from userspace. The scrub thread assumes that all ars completions are for scrubs initiated by platform firmware at boot, or by the nfit driver. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
1cf03c00e7
commit
87bf572e19
3 changed files with 38 additions and 5 deletions
|
@ -72,6 +72,8 @@ struct nvdimm_bus_descriptor {
|
|||
char *provider_name;
|
||||
ndctl_fn ndctl;
|
||||
int (*flush_probe)(struct nvdimm_bus_descriptor *nd_desc);
|
||||
int (*clear_to_send)(struct nvdimm_bus_descriptor *nd_desc,
|
||||
struct nvdimm *nvdimm, unsigned int cmd);
|
||||
};
|
||||
|
||||
struct nd_cmd_desc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue